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

EZP-31367: Do not use translated node name for Location ID 1 in Content Tree #1230

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

webhdx
Copy link
Contributor

@webhdx webhdx commented Feb 11, 2020

Question Answer
Tickets https://jira.ez.no/browse/EZP-31367
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

This was discovered during testing of ezsystems/ezplatform-admin-ui-modules#264. For Location ID 1 there is no VersionInfo thus it is impossible to get translated name. As a fallback it uses $contentInfo->name property.

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

Copy link
Contributor

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA Approved on & eZ Platform EE 2.5 with diff.

@lserwatka lserwatka merged commit d23c668 into 1.5 Feb 11, 2020
@lserwatka lserwatka deleted the location-1-ct-node-name branch February 11, 2020 14:12
@lserwatka
Copy link
Member

Could you merge it up?

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

Successfully merging this pull request may close these issues.

7 participants