- Issue created by @agentrickard
- 🇺🇸United States agentrickard Georgia (US)
Here's a patch. I will fire up a MR in a minute.
However, it looks like this path only treats the symptom. The real issue is that in a preview context, some of the expected variables seem to be missing.
- Merge request !82Issue #3506840 by agentrickard: Preview throws fatal error when children present → (Merged) created by agentrickard
- 🇺🇸United States agentrickard Georgia (US)
Oddly, I can no longer reproduce this on Drupal 11.1.3
- Status changed to Needs work
25 days ago 6:36pm 18 May 2025 - 🇮🇳India divya.sejekan
Followed the steps and this issue is also present in core 11.1.8.
Applied the patch MR!82.
Result :
1. Added New Book preview is visible now (before applying patch the error was displayed for the preview page)
2. Added single as well as multiple child pages . Preview is working
3. Verified the previews of child pages - Working
4. Verified Adding child for child page (nested) - Previews working
No console errors
RTBC ++
Keeping in Need Review for further code review -
smustgrave →
committed 3932c957 on 2.0.x authored by
agentrickard →
Issue #3506840 by agentrickard: Preview throws fatal error when children...
-
smustgrave →
committed 3932c957 on 2.0.x authored by
agentrickard →
-
smustgrave →
committed 861cd658 on 3.0.x
Issue #3506840 by agentrickard, mdranove: Preview throws fatal error...
-
smustgrave →
committed 861cd658 on 3.0.x