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

Adding a new document type Liferay store the metadata with a wrong languageId

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.2.1 CE GA2
    • Fix Version/s: None
    • Labels:
      None
    • OS:
      Ubuntu LTS 14.04
    • JDK:
      Oracle Sun JDK 8
    • Application Servers:
      Apache Tomcat 9.0.x
    • Databases:
      HSQLDB 2
    • Device Type:
      Desktop

      Description

      Steps to reproduce:

      • Enable language it_IT throught properties locales.enabled in the portal-ext.properties
      • Start the portal
      • Log in as administrator
      • Create a new blank site
      • Go to New Site > Configuration > Settings > Languages
      • Select the option "Define a custom default language and additional available languages for this site."
      • Select only Italian in the current avalaible languages box
      • Select Italian as default language
      • Go to Content & Data > Document and Media > Document Types
      • Create a new document type with at least one localized required text field
      • Go to Content & Data > Document and Media
      • Create a new document of the type created before
      • Fill all required fields and save

      Expected behavior: Liferay stored the metadata with language it_IT

      Real behavior: Liferay stored the metadata with language en_US

       
       
      Additional problem: if the Site has more than one current available languages and the document type has more than one translations, when creating a new document the portal cannot save the document and returns an error.

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              zaninello Simone Zaninello
              Participants of an Issue:
              Recent user:
              Simone Zaninello
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                23 weeks, 6 days ago

                Packages

                Version Package