[JSFIELD-34] i18n multifield values not saved in JCR when dialog contains jsField Created: 11/Apr/23  Updated: 19/Jun/23  Resolved: 19/Jun/23

Status: Resolved
Project: Java Script UI (App and Dialog Fields)
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.0.2

Type: Bug Priority: Neutral
Reporter: Riste Drangovski Assignee: Sebastian Geschke
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File page.yaml    
Issue Links:
Cloners
clones FRONTIFY-16 Widget causes issue with internationa... Closed
Relates
relates to JSFIELD-37 Investigation on JSFileds-34 - i18n m... Resolved
dependency
is depended upon by FRONTIFY-16 Widget causes issue with internationa... Closed
relation
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Steps to reproduce

  1. define dialog and set it's 
    implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
  2. add javascript field to the dialog
  3. add multifield containing composite field whose subfields are set to i18n

.. Example dialog definition:

__

form:
  implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
  properties:

    colorField:
      label: Color field
      $type: javascriptField
      fieldScript: /ui-framework-javascript-examples/webresources/colorField.html
      height: 50

    keySellingPoints:
      required: true
      $type: jcrMultiField
      field:
        $type: compositeField
        properties:
          title:
            label: Title
            i18n: true
            $type: textField
          description:
            label: Description
            i18n: true
            rows: 3
            $type: textField
  

 

Expected results

.. Values for the multifield to be saved in JCR no matter which language we choose.

Actual results

.. Values for the multifield are saved only for the current language, for other languages values are lost.

Workaround

.. Set whole multifield i18n not subfields.

 

Development notes



 Comments   
Comment by Sebastian Geschke [ 19/Jun/23 ]

Fixed together with JSFIELD-38

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