Legacy Knowledge Base
Published Jun. 30, 2025

Segment not working with request parameter option

Written By

Anishq Sharma

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How to articles!

While we make every effort to ensure this Knowledge Base is accurate,it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Segment not working using Request Parameters filed.
  • The issue can be replicated using Widget Page as well as Content Page.
  • Steps to reproduce:
    • Create a Blank page named "test"
    • Create a Basic Web Content
    • Go to Site Administration --> People --> Segments, and create a Segment using Request Parameters under Sessions.
    • Give 'myname' as 'Key' and 'Alex' as 'Value' without quotes, and Save it as Test Segment.
    • Navigate to Site Builder --> Collections and create a Manual Collection, say Test Collection with "Web Content Article" as type and "All Subtypes" as Item Subtype.
    • Create a New Personalized variation inside it, using the Test Segment.
    • Inside this Personalized variation, add the Basic Web Content
    • Now, Go to Test page, and add a Asset Publisher, go to it's Configuration, go to Asset Selection and Select Collection option. Add the Test Collection here. Publish it.
    • Visit http://localhost:8080/web/guest/test?myname=Alex
      Observed Behavior: It redirected to Test Page 2, but does not show the Web Content added in the Test Collection. However, myname=Alex parameter gets appended to the page URL.
      Expected Behavior: It redirected to Test Page 2, and shows the Web Content added in the Test Collection, with myname=Alex parameter appended to the page URL.

Environment

  • Liferay DXP 7.3

Resolution

  • The observed behavior is a known bug andis being addressed via LPS-169907
  • In case user needs further info regarding the LPS, please create a help center ticket mentioning the provided LPS.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base