Skip to content

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

@acrobat
Copy link
Member

acrobat commented Feb 16, 2025

@mart-insiders can you rebase against the current 7.x branch and target the PR to 7.x. Master is no longer used and is an old state of the project. Thanks!

@mart-insiders mart-insiders changed the base branch from master to 7.x February 17, 2025 06:18
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