-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IBX-6017: Avoid loading whole content in the Content Tree #2104
Conversation
BC is kept as long as we still return any name. I vaguely remember why it was done this way but my guess would be that it was required to fetch Content name in current siteaccess prioritized language. With your change you likely return the name in Content's main language. We need to make sure there is no regression here. |
@webhdx yes, this is exactly the case, we are prioritizing the first language defined in the current site access. And with the change following I'm returning the name in the main language of content, as you described. |
We are talking about regression then. I'd say this improvement in current form is a no go as another customer will report that all of sudden they are not getting translated names. A feature toggle is also a flawed idea because you get performance gain at the cost of missing a feature. I'd rather explore the possibility of loading |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@webhdx related PR is ready with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming behat failure is related to missing kernel dependency :)
@alongosz, yes, most errors are coming from the missing method ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test status in ezsystems/ezplatform-kernel#375.
The idea is that we could implement
loadVersionInfos
PAPI method and get translated name based on this, just like it's done inloadContentListByContentInfo
- this would have a much higher impact on performance though.Blackfire profiles are included in the ticket's comments.
Requires: ezsystems/ezplatform-kernel#375
Checklist:
$ composer fix-cs
)