Legacy Knowledge Base
Published Jun. 30, 2025

Error validating the main servlet path in a content reference

Written By

Phil Chapman

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

  • Following an upgrade from DXP 7.3 Service Pack 1 to Update 10, we cannot reference a main servlet path within a Basic Web Content article

    Steps to Demonstrate

    1. Create a new Basic Web Content article with this input
    Title: Test
    Content:

    Test content <a href="http://localhost:8080/c/portal/login">http://localhost:8080/c/portal/login</a>
    

    2. Press the Publish button

    Result

    The below error is thrown and the article isn't published

    Error: Unable to validate referenced page with URL /c/portal/login because the page group with URL /c cannot be found. 

Environment

  • DXP 7.3 Update 10 (U10)

Resolution

  • This behavior was found to be caused by a code regression
  • It has since been fixed by LPS-180569, allowing a main servlet path to be referenced in content as before
Did this article resolve your issue ?

Legacy Knowledge Base