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

Switchable Field i18n validation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • 6.2.12
    • None
    • None
    • Yes

      Steps to reproduce

      1. Define a component as the following (do not set default value for radioButtonGroupField as it was on MGNLUI-6918 ticket)
        form:
          properties:
            - name: switchMe
              $type: switchableField
              i18n: true
              field:
                $type: radioButtonGroupField
                required: true
                layout: horizontal
                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. Click 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

          1.
          Implementation Sub-task To Do Unassigned
          2.
          Review Sub-task To Do Unassigned
          3.
          PreintQA Sub-task To Do Unassigned
          4.
          QA Sub-task To Do Unassigned

              ajuran Antonín Juran
              ajuran Antonín Juran
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: