Uploaded image for project: 'Live Copy'
  1. Live Copy
  2. LIVECOPY-403

i18n content is not properly displayed at dialogs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • 3.2.10
    • None

    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).

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD