Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6862

LinkField does not store plain text for the second language

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create a component of type , e.g:
        myLinkComponent.yaml
         
        form:
         properties:
         link:
         label: "My Link"
         $type: pageLinkField
         showOptions: false
         textInputAllowed: true
         i18n: true
        
      2. On the Pages-app, create a new page and on the main area, add the component created on the previous step
      3.  With the English language selected, insert at the textfield one value (e.g, http://www.google.com)
      4. Switch to German and insert other text (e.g, http://www.google.de)
      5. Save the dialog
      6. Check only English value has been saved. The German value is missing

      Expected results

      Both, English and German values are saved and shown on the textField

      Actual results

      Only English value is saved. The field for German language is empty

      Workaround

      Change an other i18n field value in the german language.

      Development notes

      It only happens when introducing text. If you switch to German language and select a page, then the value is properly saved. Check attachments.
      The issue has changed a little with MGNLUI-6857. Only the last selected language is saved (Without MGNLUI-6857, only the default language is saved)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rkovarik Roman Kovařík
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD