Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2745

Publication time is extended in proportion to the number of languages

    XMLWordPrintable

Details

    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

      1. Install Ibexa DXP v3.3
      2. Create a new CT with a Page field and ~100 fields
      3. Create 15 languages
      4. Create new content from created CT
      5. Translate to 5 language
      6. Edit content with any language and check time publication
      7. 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

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: