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

Forms are always created for all languages

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Neutral Neutral
    • 6.2.11
    • 6.2.8
    • None
    • Yes
    • UI FW 32
    • 3

      Steps to reproduce

      1.  Define 50 languages in a site
      2.  Open a dialog in that site (e.g. a page properties dialog)

      Expected results

      1. The dialog opening is as fast as I'd have one language per site as I want to edit just one or few languages, not all of them.

      Actual results

      1. It takes a visibly long time to open the dialog.

      Workaround

      There doesn't seems to be a viable workaround except reducing number of languages.

      Patch for M6.2.9

      <dependency>
        <groupId>info.magnolia.ui</groupId>
        <artifactId>magnolia-ui-framework</artifactId>
        <version>6.2.9-MGNLUI-6724</version>
      </dependency>
      

      Development notes

      The form fields are created in 50 variations in memory.

      • we can create it just for the current language
      • add next variation on language switch
      • what about validation, do we need to/should we validate untouched languages?

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3.75h
                  3.75h