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

Asset Publisher Custom User Attributes filter does not work.


    • 3


      Steps to reproduce:

      1. Sign in test user.
      2. Click Go to > Control Panel > Custom Fields.
      3. Click User.
      4. Click Add Custom Field.
      5. Enter the following:
        (a) Key: Location
      6. Select 'Text Field - Indexed' from the Type drop down.
      7. Click Save.
      8. Click Categories.
      9. Click Add Vocabulary.
      10. Enter the following:
        (a) Name: Location.
        (b) Description: Location custom field.
      11. Click Add Category.
      12. Enter the following:
        (a) Name: Chicago.
        (b) Description: (a brief description)
      13. Select 'Location' from the To Vocabulary drop down.
      14. Click Save.
      15. Click Users and Organizations.
      16. Click test.
      17. Click Custom Fields in the right container.
      18. Enter the following:
        (a) Location: Chicago.
      19. Click Save
      20. Click Back to liferay.com.
      21. Click Add > Web Content Display.
      22. Click the Add Web Content icon.
      23. Enter the following:
        (a) Title: Chicago.
        (b) Content: This is the first web content article.
      24. Click Categorization in the right container.
      25. Flag the Chicago checkbox in the Categories window.
      26. Click Publish.
      27. Click the Add Web Content icon.
      28. Enter the following:
        (a) Title: web content 2
        (b) Content: This is the second web content article
      29. Click Publish.
      30. Click Add > Asset Publisher.
      31. Click the wrench icon for Asset Publisher > Configuration.
      32. Enter [Location] in the Displayed assets must match these custom user profile attributes field.
      33. Click Save.

      Actual results:
      User can see two contents in Asset Publisher.

      Expected results:
      Only Chicago content was displayed.


        1. LPS-69914.mp4
          7.67 MB
        2. result.png
          179 kB
        3. step 23.png
          step 23.png
          46 kB
        4. step 28.png
          step 28.png
          42 kB
        5. step 32.png
          step 32.png
          55 kB
        6. step8.jpg
          64 kB



            steven.gao Steven Gao (Inactive)
            steven.gao Steven Gao (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            0 Vote for this issue
            1 Start watching this issue


              5 years, 46 weeks, 4 days ago


                Version Package