[CONTEDIT-420] Disable locale selector when editing old structure story Created: 08/Sep/21  Updated: 13/Oct/21  Resolved: 23/Sep/21

Status: Closed
Project: Content Editor
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: 2.1-beta

Type: Improvement Priority: Major
Reporter: Oanh Thai Hoang Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation, VN-Testing
Remaining Estimate: 0.5h
Time Spent: 1d 1.5h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2021-09-08 at 09.29.08.png     PNG File Screen Shot 2021-09-08 at 09.36.23.png     PNG File Screen Shot 2021-09-08 at 09.47.28.png    
Issue Links:
Cloners
clones CONTEDIT-416 Do not update slug field when creatin... Closed
is cloned by CONTEDIT-421 Disable save actions when editing old... Closed
dependency
depends upon CONTEDIT-411 Handle i18n in MultiJcrBlockDefinition Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: i18n Stories App
Sprint: Content Mngmt 13
Story Points: 5

 Description   

Step to reproduce:

  • Enable i18n for custom. See  
  • Open existing old structure story like /stories-demo/lost-and-found-in-swiss-alps
  • See warning 
  • Switch to de language
  • See some blank fields 

 

Expectation: Disable locale selector

 

Dev node: https://git.magnolia-cms.com/projects/ENTERPRISE/repos/content-editor/compare/diff?sourceBranch=refs%2Fheads%2Fpoc&targetRepoId=1880#magnolia-content-editor/src/main/java/info/magnolia/editor/field/ContentEditorLocaleSelector.java



 Comments   
Comment by Oanh Thai Hoang [ 29/Sep/21 ]

For docu (mdrapela): Locale selector combobox will be disabled in cases when 

  • multiJcrBlock field is configured with i18n: true but edit story has not been migrated yet
  • multiJcrBlock was configured with i18n: false and edit story has persisted with new i18n structure.

(Persisting node structure is affected with the i18n configuration change)

Generated at Mon Feb 12 00:20:14 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.