Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.16, 4.0.3
-
None
Description
If we have a field Page in CT, the copyTranslationsFromPublishedVersion function will always call the internalUpdateContent function, so Content is updated for all content's languages, which significantly affects the publication time with a large number of languages and fields
Steps to reproduce
- Install Ibexa DXP v3.3
- Create a new CT with a Page field and ~100 fields
- Create 15 languages
- Create new content from created CT
- Translate to 5 language
- Edit content with any language and check time publication
- Repeat the 5th and 6th points two times
Result
With each translation added, the publishing time increases
Expected Result
As long as there were no changes, the function internalUpdateContent should not be executed (Currently, because zone, block, and attributes have different IDs for different languages, there is always information about the need to copy), and even if the internalUpdateContent function is calling should be updating only the changed languages/field and not all