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

I18n not working for OptionListDefinition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Neutral Neutral
    • 6.2.3
    • 6.2
    • None

      Having the following combo box field, it doesn't get the i18n values from the i18n properties file:

      form:
        properties:
          comboSelect:
            label: Prefix
            $type: comboBoxField
            datasource:
              $type: optionListDatasource
              options:
                - name: MRName
                  value: mr
                  label: test.myCustomLabel.mr
                - name: MRSName
                  value: mrs
                  label: test.myCustomLabel.ms

      Property file defined on {/test/src/main/resources/test/i18n/module-test-messages_en.properties}} contains the keys and values.

      It doesn't work even trying:

      • comboSelect.datasource.options.mr= Mr
      • comboSelect.options.mr= Mr

      In Magnolia 5.7.6 all the options mentioned above are working properly.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2h 1m
                    2h 1m