This issue has been created
There is 1 update.
 
 
Unified Documents Application / cid:jira-generated-image-avatar-0577e17b-47de-4e87-8dca-d629f6c479b6 UDA-11 Open

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

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e89eedc7-5dc4-4ab0-b52c-0a83117dea88 Florian Véron created this issue on 27/Feb/25 16:48
 
Summary: Modifying a section position in a unified document does not apply to content using another language
Issue Type: cid:jira-generated-image-avatar-0577e17b-47de-4e87-8dca-d629f6c479b6 Bug
Affects Versions: 1.1.9
Assignee: Unassigned
Created: 27/Feb/25 16:48
Priority: cid:jira-generated-image-static-major-fc2d4a9b-1432-4f8e-ab07-735eb258f1cd Major
Reporter: Florian Véron
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.

 

 
 

1 update

 
cid:jira-generated-image-avatar-e89eedc7-5dc4-4ab0-b52c-0a83117dea88 Changes by Florian Véron on 27/Feb/25 16:51
 
Assignee: Florian Véron