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

Complex fields with Internalisation are not protected correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.2.10
    • None
    • None
    • Yes
    • Yes
    • AuthX 18
    • 5

      Steps to reproduce

      1.  Create a site with that supports two languages (f.e. en and de)
      2.  Create a page that contains the following dialog (it can be a page dialog or a component dialog), for example, mtk2: componets/htlm
        form:
          properties:
            equivalents:
              $type: jcrMultiField
              field:
                $type: compositeField
                properties:
                  equivalentLink:
                    $type: pageLinkField
                  equivalentTitle:
                    $type: textField
                    i18n: true  
        
      1. Create a page in this site and add an html component to it. Fill out the component in both languages
      2. Create a new site for a livecopy, this site is going to have only one language.
      3. Follow livecopy instructions to allow internationalization (docu).
      4. Create a livecopy of the original site.
      5. Go to the html component and try to edit and protect the complex field. Save changes.
      6. Open again the html dialog.

        Expected results

      The field is protected and a red icon appears next to the complex field.

      Actual results

      No icon red icon appears

      Workaround

      Only add default language content into complex fields in the master site.

      Development notes

      The protected icon is not displayed properly because of the internationalised properties that are within the complex field.
      If you go to the master and save the dialog only in the fallback language, it works as expected.

        Acceptance criteria

              jalonso Jesus Alonso
              miruela Mercedes Iruela
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 4.5h
                    4.5h