This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-85992ef2-f2fa-4f81-a6b6-ae540858b3d8 XWIKI-22308 Open

The inplace editor locks the original translation when creating a new translation

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4f20ee18-3787-4e99-bf81-615c70340a6f Marius Dumitru Florea created this issue on 02/Jul/24 14:58
 
Summary: The inplace editor locks the original translation when creating a new translation
Issue Type: cid:jira-generated-image-avatar-85992ef2-f2fa-4f81-a6b6-ae540858b3d8 Bug
Affects Versions: 15.10.11, 16.4.0
Assignee: Unassigned
Components: Edit
Created: 02/Jul/24 14:58
Priority: cid:jira-generated-image-static-major-a45c85aa-f737-4227-bece-af53e7a6af28 Major
Reporter: Marius Dumitru Florea
Description:

When editing a page inplace, for which there's no translation in the current UI locale, the inplace editor allows you to create the missing translation. There are actually two ways to do this:

  • you can either click directly on the Translate button from view mode
  • or click on Edit to start editing the original translation and then click on Translate to switch to creating the missing translation

In the first case, the inplace editor locks the original translation, instead of locking the translation that is going to be created (matching the current UI locale).

In the second case the inplace editor doesn't release the lock from the original translation once we switch to the new translation (matching the current UI locale). Moreover, since the edit mode is not "reloaded" (without reloading the page of course), the content editor still things it is editing the original translation. This has for instance a serious impact on the realtime editor which uses different sessions for each document translation, so if we don't recreate the editor when the document locale changes then we remain in the realtime session associated with the original translation.

 
 

4 updates

 
cid:jira-generated-image-avatar-4f20ee18-3787-4e99-bf81-615c70340a6f Changes by Marius Dumitru Florea on 02/Jul/24 14:58
 
Fix Version: 16.4.1
Fix Version: 16.6.0-rc-1
Fix Version: 15.10.12
Assignee: Marius Dumitru Florea