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

CUSTOM USER ATTRIBUTES in Asset Publisher does not work properly when custom field "Make Field Localizable" is enabled.

Details

    Description

      Description
      CUSTOM USER ATTRIBUTES in Asset Publisher does not work properly when custom field "Make Field Localizable" is enabled.

      Steps to reproduce

      1. Add a custom field for the User resource with the following settings

        Input Field
        Field Name: region
        Data Type: Text
        Make Field Localizable : enable

      1. Add "View" permission for "User" to "region"
      2. Go to Global site
      3. Add a vocabulary named "region"
      4. Add categories named "JP", "AU" under "region"
      5. Add a new site named "test site"
      6. Add web content with following settings

        Web Content JP: Public Categories: "region":JP
        Web Content AU: Public Categories: "region":AU

      7. Add a Asset Publisher widget to any page
      8. Change the asset publisher settings as follows:

        ASSET SELECTION: Dynamic
        SOURCE: AssetType: Web Content Article
        CUSTOM USER ATTRIBUTES: region

      9. Add a user with the following settings:

        user1:
        Member ship: test site
        Region (custom field): JP

      10. Sign in as "user1" and go to "test site"

      Actual result
      Both "Web Content JP" and "Web Content AU" are displayed.

      Expected result
      Only "Web Content JP" is displayed.

      Reproduced in
      DXP 7.4 Update 54
      Master Commit: 28b3732fef6b1e19a5b09fc574dc5f623a1be1ec

      * Please see Zendesk Support tab for further comments and attachments.

      Attachments

        1. custom field.png
          custom field.png
          133 kB
        2. CUSTOM USER ATTRIBUTES - error
          23 kB
        3. Home - Liferay DXP (2).mp4
          6.20 MB
        4. permission.png
          permission.png
          170 kB

        Activity

          People

            support-lep@liferay.com SE Support
            son.truong Son Truong
            David Gutiérrez Mesa David Gutiérrez Mesa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 weeks, 2 days ago

              Packages

                Version Package
                7.4.13 DXP U60