Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-145

Magnolia UI 6 - Form definition properties i18n and required

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None

    Description

      Summary:

      By setting the i18n and required properties to true of a field in a dialog and a contentType, the dialog can't be saved if you don't fill the field in all languages.

      If only the default language is fulfilled then the following error is thrown:

      [RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc caused by InvocationTargetException]

      Steps to reproduce:

      1. Copy the imported zip in light-modules folder
      2. Check that the workspace and the app has been created
      3. Open Publicaciones app
      4. Clic on add an Item
      5. Fulfill only the field Title in one language and clic on Save
      6. Check that RpcInvocationException error is thrown

      Expected results:

      The field Title, as far as it's required should be fulfilled in, at least, one language.

      Actual results:

      The field Title must be fulfilled in all available languages, otherwise it throws an error and the values are not saved (dialog is not even closed).

      Workaround:

      N/A

      Development notes:

      N/A

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD