[LIVECOPY-403] i18n content is not properly displayed at dialogs Created: 28/Apr/23  Updated: 06/Jul/23  Resolved: 06/Jul/23

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: 3.2.10
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

Steps to reproduce

  1. Switch to the Pages app
  2. Create a Live Copy of "travel"
  3. A duplicate with the name "travel0" is created
  4. Switch to the Site App
  5. Within travel site, include a new locale (e.g, es)
  6. Create a duplicate of the "travel" Site Config
  7. A duplicate with the name "travel0" is created
  8. Change the "mapping" of the "travel0" SiteConfiguration to match the new path: handlePrefix = /travel0
  9. Remove the DE locale from the travel0 site (so only EN and ES exists)
  10. Set the fallbackLanguage to "es"
  11. Go to master site (travel) and edit a page (e.g, contact) to include Spanish content
  12. Push changes to travel0
  13. Open the page edited on step 11 and check that if you edit the dialog which contains the new Spanish content, the languages and contents are wrong
  14. If you go to JCR and inspect the component, you can see that everything is stored as expected (e.g if at the component edited in step 11 the field was named "title", at JCR there is an attribute named "title" with English content, an attribute with title_es" with the Spanish content and an attribute "title_de" with the German content.

Expected results

1. At the dialogs, the content is loaded properly for each language
2. Only the i18n content which is available at the site is pushed (e.g, if no DE locale is available on the live copy "travel0" do not push all the "DE" attributes)

Actual results

Tho the content is stored (attributes) properly at JCR, when the dialogs are open the content displayed doesn't match. E.g, you see German content and when you open the dialog for edit (German selected within the language combobox), the text displayed within the field is in other language.

Workaround

N/A

Development notes

Even for a site which has only one language available (e.g, the travel0 live copy has only DE locale), the content is displayed in DE but when you edit the components, the text which appears in the fields is in English).


Generated at Mon Feb 12 02:28:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.