- Issue created by @Aporie
- Merge request !1Issue #3396324: Undefined constant "Drupal\node\Entity\DRUPAL_OPTIONAL" → (Closed) created by Aporie
- last update
about 1 year ago 3 fail - Status changed to Needs review
about 1 year ago 1:23pm 24 October 2023 - last update
about 1 year ago 3 fail - last update
about 1 year ago 4 fail - last update
about 1 year ago 6 pass - last update
about 1 year ago 6 pass - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - last update
about 1 year ago 2 pass, 2 fail - 🇩🇪Germany jan kellermann
I tested the patch and it resolved the problem. Thank you for your work!
(I can reproduce with editing the content type "basic page". After saving the form i get a WPOD.)
It was only a quick check and I could not test the whole system so I do not set the status to "Reviewed".
- 🇭🇷Croatia Aporie
Thanks @jan for the feedback.
The same. I've deployed this patch to a project on production, it works well (but has some other issues similar to this one with classes not defined, whereas they are) only once, and I have no idea what triggered it.
Though this project has no cache and page_cache has been uninstalled, so the same, I can't really set this patch to "reviewed".
Let's wait for a while and we'll see.
- Status changed to RTBC
8 months ago 12:19am 9 May 2024 - 🇺🇸United States aasarava
Thanks for the patch. I reviewed and tested and can confirm it works.
Prior to the patch, I was able to reproduce the error by creating a webform and then deleting it. Upon deletion, I got the DRUPAL_OPTIONAL error and WSOD. Flushing cache was the only way to fix. After applying the patch, I can create and delete webforms without the error.
- 🇭🇷Croatia Aporie
I think it's quite safe.
I've been using this fix for a while and it seems to work.
Will release soon.
Automatically closed - issue fixed for 2 weeks with no activity.