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

When navigating using Liferay.Util.navigate, from a non-react page to a react page (with hash on the route), the path saved in the history doest not point to the same URL

    Details

      Description

      Steps to reproduce:

      1. Login with admin
      2. Go to Control Panel > App Builder > Custom Object
      3. Create a custom object
      4. Access it's form views
      5. Save any form view
      6. Access the newly created form view
      7. Go back using the browser's back button

      Expected Result:
      The browser navigates back to the form view list.

      Actual Result:
      The browser navigates back to the custom object list (App Builder root page).

      OBS.:
      It seems that the portal overrides the updateHistory function passing an inconsistent _redirectPath to the actual path. 
      Here: https://github.com/liferay/liferay-portal/commit/e8674ca27fcd40f5e300d5bcf54606ef45bbb717

        Attachments

          Activity

            People

            • Assignee:
              john.co John Co
              Reporter:
              diego.nascimento Diego Nascimento
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Diego Nascimento
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                49 weeks, 2 days ago

                Packages

                Version Package
                7.2.10 DXP FP3
                7.2.X
                7.2.1 CE GA2
                Master