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

Switchable Field i18n validation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.40
    • 6.2.12
    • None
    • Yes
    • Nucleus 45, Nucleus 46
    • 5
    • Yes

      Steps to reproduce

      1.  Define a component as the following
        form:
          properties:
            - name: text
              i18n: true
              $type: textField
            - name: switchMe
              $type: switchableField
              i18n: true
              field:
                $type: radioButtonGroupField
                required: true
                layout: horizontal
                defaultValue: internal
                datasource:
                  $type: optionListDatasource
                  options:
                    - name: internal
                      value: internal
                    - name: external
                      value: external
              itemProvider:
                $type: jcrChildNodeProvider
              forms:
                - name: internal
                  properties:
                    internal:
                      $type: pageLinkField
                      required: true
                - name: external
                  properties:
                    external:
                      $type: textField
                      required: true 
      1.  Create it on a site which has multiple languages enabled
      2. Switch to locale which is not default one
      3. Select one option on switchMe field
      4. Clic on submit
      5. Check the dialog doesn't close but no error is shown
      6. Move to other language and check the error of required field is printed

      Expected results

      Some kind of advice is shown to let the editor know he must fulfill the switchMe field for all languages as far as it is required

      Actual results

      The error is shown only if the editor switch to other language

      Workaround

      N/A

      Development notes

      N/A

        Acceptance criteria

              thien.quach Quach Hao Thien
              ccantalapiedra Carlos Cantalapiedra
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 6d 3.5h
                    6d 3.5h