[JSFIELD-11] i18n values are not stored in a tabbed form Created: 21/Jul/22  Updated: 26/Jan/23  Resolved: 24/Nov/22

Status: Closed
Project: Java Script UI (App and Dialog Fields)
Component/s: None
Affects Version/s: 1.1.7
Fix Version/s: 1.2

Type: Bug Priority: Neutral
Reporter: Jonathan Ayala Assignee: Riste Drangovski
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
is cloned by JSFIELD-14 Field value is lost from state when u... Closed
causality
relation
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Steps to reproduce

  1. Make use of the following dialog:
    form: 
      implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
      $type: tabbedForm
      tabs: 
        tabOne: 
          label: Tab-1
          fields: 
            image: 
              $type: damLinkField
            title: 
              $type: textField
              i18n: true          height: 150
              required: true        multiValueFieldTest: 
              $type: jcrMultiValueField
              i18n: true          field: 
                $type: textField
        tabTwo: 
          label: Tab-2
          fields: 
            multiValueFieldTestTab2:
              $type: jcrMultiValueField
              i18n: true          field: 
                $type: textField 
  2.  Open tabbed dialog with jcrMultiValueField and add values for all languages (f.e. EN and DE)
  3. Save changes
  4. Open dialog again
  5. Change language

Expected results

Values are saved for both languages

Actual results

Values are only saved for first language

Development notes

This is not happening with default UI, for example, the following dialog would produce expected results:

form:
  properties:
    image:
      $type: damLinkField
    title:
      $type: textField
      i18n: true
      height: 150
      required: true
    multiValueFieldTest:
      $type: jcrMultiValueField
      i18n: true
      field:
        $type: textField
  layout:
    $type: tabbedLayout
    tabs:
      tab1:
        fields:
          - name: title
          - name: multiValueFieldTest
      tab2:
        fields:
          - name: image


 Comments   
Comment by Alberto Ramirez [ 15/Nov/22 ]

Hi, any idea when the Jira will be scheduled?

Comment by Teresa Miyar [ 18/Nov/22 ]

Hi,

We are working on it, it is related to complex fields and it will take some time to fix.

Regards

Teresa

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