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

Wrong Locale for Documents and Media with custom Document Type

    Details

    • Branch Version/s:
      7.2.x, 7.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Login as Admin User.
      2. In the Default Site, go to "Configuration - Site Settings".
      3. Under "Languages" remove everything except "German" and set "German" as the Default Language.
      4. Set "German" as the default language of the current user.
      5. Under "Content - Documents and Media", add a new "Document Type" and add a Boolean field. Its default language is German.
      6. Under "Documents and Media" add a new Document with the newly created Document Type.
      7. Check the ddmcontent table in your database

      Actual behavior: All field values and even default language ID is saved as "en_US".
      Expected behavior: German language is saved in the database by default.

      Also tested on:
      7.1.x @e9d057eb89c8796d890cf34b454601aef1df7438 -> At some places de_DE is saved correctly, but not the default language for example.
      Master @346df0937b1a822121f9cd117fdf2ec6a4685cda -> At some places de_DE is saved correctly, but not the default language for example.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              marcell.gyopos Marcell Gyöpös
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              Marcell Gyöpös
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                22 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.3 CE GA4
                  7.3.10 DXP GA1
                  Master