Skip to content

Comments

UHF-X: External event entity causes WSOD fix#895

Merged
rpnykanen merged 3 commits intomainfrom
UHF-X_curated_events_whitescreen
Jan 28, 2025
Merged

UHF-X: External event entity causes WSOD fix#895
rpnykanen merged 3 commits intomainfrom
UHF-X_curated_events_whitescreen

Conversation

@rpnykanen
Copy link
Contributor

@rpnykanen rpnykanen commented Jan 28, 2025

Prevent whitescreen when event does not have either start or end time.

How to install

  • Make sure your instance is up and running on latest dev branch.
    • git pull origin dev
    • make fresh
  • Update the Helfi Platform config
    • composer require drupal/helfi_platform_config:dev-UHF-X_curated_events_whitescreen
  • Update HDBT
    • composer require drupal/hdbt:dev-UHF-X_curated_events_whitescreen
  • Run make drush-updb drush-cr

How to test

  • Add a curated event paragraphs to a page
  • Add the following events:
- Sound of Stoa
- Ilmaispäivä
- Kiasman ilmaispäivä
- DocPoint 2025
  • Save the page
  • Go see the page
    You should not see whitescreen

Other PRs

@teroelonen teroelonen changed the title check that the date exists before trying to get timestamp UHF-X: External event entity causes WSOD fix Jan 28, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants