Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-109066

Incorrect list of available languages in documents' localized custom fields

    Details

      Description

      Custom fields present in documents should have into account the available locales defined in the document type the document is based on. Currently, they include a list of all available locales of the site, making it confusing and breaking the functionality when defining a translation not available for the document type specific fields.

      Steps to reproduce:

      1. Add a new Document (Input field) custom field, called 'custom-localizable-input' and make it localizable.
      2. Add a new Document Type, called 'Text-localized-doctype' and add a localizable Text field. Do not add any translations, just the default one (US English).
      3. Add a new 'Text-localized-doctype' document
      4. Check the custom field translations drop down list.

      Expected result: as indicated inĀ  PTR-1530, the list includes the file entry type available languagesĀ  (US English).

      Current result: the list includes all available languages in the site

        Attachments

        1. 7.2.x.png
          7.2.x.png
          109 kB
        2. Master.png
          Master.png
          87 kB

          Issue Links

            Activity

              People

              • Assignee:
                cristina.rodriguez Cristina Rodriguez
                Reporter:
                cristina.rodriguez Cristina Rodriguez
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  13 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  Master