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

Link to URL Fails to Direct to Page of Same Site if FriendlyURL is used.



      Link to URL fails to direct to page of same site if friendlyURL is used. Users are not being correctly redirected to the appropriate site page. When they navigate to the link, they are directed to the last accessed path, rather than the linked page.

      Steps To Reproduce:

      1. Create a new page named TEST with Friendly URL (/test)
      2. Create a new Link to URL page named TESTWITHOUTFRIENDLY with Friendly URL (/testwithoutfriendly) and URL: /web/guest/test
      3. Create a new Link to URL page named TESTWITHFRIENDLY with Friendly URL (/testwithfriendly) and URL: /test
      4. Go to a neutral part of Liferay such as Control Panel->Web Content. Make sure you open two tabs of this.
      5. In the first tab, go to http://localhost:8080/testwithoutfriendly. Confirm that you are directed to the TEST page.
      6. In the second tab, go to http://localhost:8080/testwithfriendly.


      Expected Results:
      You will be directed to localhost:8080/test.

      Actual Results:
      You are directed to the last accessed path. Confirm that you are not directed to the TEST page and still on Web Content. Confirm that a 404 error is thrown in the terminal.

      If you tried to access localhost:8080/testwithfriendly while you were in localhost:8080/web/guest/home, then you would be directed to localhost:8080/web/guest/home.


      Reproducible in 7.1.x

      7.1.x hash: c50a3a292f89d1792c342ba2c353bc128cfcb44c

      Reproducible in Master

      master hash: b8db0222c9c34eb56cdc280a2a43c64c22723113





            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created:
                Days since last comment:
                4 weeks, 1 day ago