Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1391

Tab title displays "null" when using pagination for Content Views reports


    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 2.x, 2.1.1
    • Fix Version/s: 2.1.2
    • Component/s: Content Targeting
    • Labels:


      When viewing a Content Views report for a user segment (that has enough data to potentially display multiple pages), switching to another page or changing the number of entries per page will make "Content Views" in the browser tab's title switch to reading "null."

      Steps to reproduce:

      1. Deploy Audience Targeting 2.1.1 to a DXP bundle (and restart to complete installation)
      2. Add a basic Web Content article
      3. Navigate to Configuration -> Audience Targeting and create a new User Segment
      4. Enter a title and add a "Content Visited" rule, and set the content to the new Web Content, before saving the User Segment
      5. Create five empty pages on the current site
      6. Add an Asset Publisher to a page and click on the created Web Content to view the full content
      7. For every page (including the Welcome page):
        1. Add a new User Segment Content Display portlet and enter the portlet's configuration
        2. Configure the Content Selection to display the new Web Content article if the user belongs to the new User Segment
        3. Navigate again to each page and refresh once or twice to generate more views
        • This is to ensure enough data is created for pagination for the Views report
      8. Navigate back to Configuration -> Audience Targeting -> the created User Segment -> Reports -> Content Views
      9. Click the dots in the upper-right corner and click "Update"
      10. When the chart is generated, scroll to the bottom (where pagination is shown) and change the number of entries per page to 5

      Expected result: the chart updates to match only the entries on the first page, and the tab title still says "Content Views - Liferay DXP"
      Actual result: the chart updates correctly, but the tab title now reads "null - Liferay DXP"




            abel.yu Abel Yu (Inactive)
            alec.shay Alec Shay
            Participants of an Issue:
            0 Vote for this issue
            0 Start watching this issue




                Version Package