[LIVECOPY-335] Complex fields with Internalisation are not protected correctly Created: 19/Aug/22  Updated: 04/Oct/22  Resolved: 03/Oct/22

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

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 4.5h Time Spent: 4.5h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2022-09-12-09-51-10-066.png    
Issue Links:
Relates
relates to LIVECOPY-360 compositeField can not be unlocked on... Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
LIVECOPY-342 QA Sub-task Completed Thuy To  
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthX 18
Story Points: 5
Team: AuthorX

 Description   

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.


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