Details

      Description

      Steps to reproduce:

      1. Set
        users.profile.friendly.url=/web/${liferay:screenName}/profile

        in portal-ext

      2. Start portal
      3. Add Contacts portlet to a page
      4. Click on a user and check the URL ponting to their profile

      Actual result: URL is https://localhost:8080/web/username
      Expected result: URL is https://localhost:8080/web/username/profile

      Additional issue:
      If logic inversion is fixed then if after the last step you click on the link then the page is not found. The link should actually work.

      Reproduced on: master @ 8702a4da1a6596e3bfc6d00fb430834f35d43f18

      In the following change:
      https://github.com/liferay/liferay-portal/commit/6147d9ec656c90d8a1ba4b13dbf79f8a67f97a6d
      the logic has been accidentally inverted.


      QA/Solution Notes
      The fix is correcting a behavior, meaning that whatever profile page name the user is setting in this property:
      users.profile.friendly.url
      will now be accepted and the link will be generated accordingly. If the user wants to use the link, he has to create the referenced pages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raven.song Raven Song
                Reporter:
                norbert.kocsis Norbert Kocsis
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 21 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master