Uploaded image for project: 'Unified Documents Application'
  1. Unified Documents Application
  2. UDA-11

Modifying a section position in a unified document does not apply to content using another language

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 1.2.4
    • 1.1.9
    • None
    • Unknown

    Description

      Steps to reproduce :

      • Edit a unified document that has multiple language version
      • Move any section to another place in the sections tree
      • Save
      • Switch to another language

      Observed :

      • The section is not moved in content, but well-placed in table of content.
      • The content is correct after 24h delay

      This is caused by the use of a cache macro around the content. The cache id does not update in another language than the default wiki language.

      The cache id is built this way :

      #set($cacheId = "$!{doc.fullName}-$!{locale}-$!{lastUnifiedDocumentUpdate}-$!{lastSectionUpdate}-$!{xcontext.action}") 

      The issue come from the use of tdoc because translated document does not have modification registered in history when Sections objects are modified.

      The solution is to add a new key in the cache id string to identify last change in the main document.

       

      Attachments

        Activity

          People

            fveron Florian Véron
            fveron Florian Véron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: