Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NodeBundle] | (fix) nullable nodetranslation in slugtype #3483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mart-insiders
Copy link

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets comma separated list of tickets fixed by the PR

The buildView method in SlugType can throw a 500 error when a nodeTranslation is not found in parentNode->getNodeTranslation(). Adding a simple nullcheck resolves this.
This bug occurs when a multilangual site had a subpage under a parent node which is not translated. This can be resolved by creating the parent node translation but shouldn't crash the CMS

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.

1 participant