PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-25197

Reset Password: generated link depends on a page "/web/test" and doesn't work if page is not homepage - http://portal.tokenizer.ca/web/test/c/portal/update_password...

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4
    • Caused by:
      Feature/improvement was not complete
    • Where was the bug?:
      Java
    • Similar Issues:
      Show 5 results 

      Description

      Here is the generated link:
      http://portal.tokenizer.ca/web/test/c/portal/update_password?p_l_id=11330&ticketKey=bc03a9a0-e034-4638-b86c-ce787208e6cc

      It doesn't work. However, it works if I manually remove "/web/test":
      http://portal.tokenizer.ca/c/portal/update_password?p_l_id=11330&ticketKey=bc03a9a0-e034-4638-b86c-ce787208e6cc

      If I try to reset password from homepage everything works fine... however, if from another virtual host (such as "/web/test" which is user public layout) it doesn't work.

        Issue Links

          Activity

          Hide
          Drew Blessing added a comment -

          Fuad,

          Thank you for your report. As part of the community verifier program I am taking a look at this issue. If you have any additional information that will help me with this bug or if this is not longer a concern, please update me in the comments. Thanks.

          Show
          Drew Blessing added a comment - Fuad, Thank you for your report. As part of the community verifier program I am taking a look at this issue. If you have any additional information that will help me with this bug or if this is not longer a concern, please update me in the comments. Thanks.
          Hide
          Drew Blessing added a comment -

          I can reproduce this issue on 6.1 GA1.

          Steps:

          1. Go to a page other than the default/guest community
          2. Click Sign In
          3. Go through Forgot Password steps
          4. Check email that the request was sent to

          Notice that the link has the site's location embedded in the link (i.e. /web/screenname). This does not work for the password reset and the user is simply redirected to the site instead of the reset password function. Expected result would be the location is that no matter which site the forgot password request is sent from, the link contains the root URL only.

          Show
          Drew Blessing added a comment - I can reproduce this issue on 6.1 GA1. Steps: Go to a page other than the default/guest community Click Sign In Go through Forgot Password steps Check email that the request was sent to Notice that the link has the site's location embedded in the link (i.e. /web/screenname). This does not work for the password reset and the user is simply redirected to the site instead of the reset password function. Expected result would be the location is that no matter which site the forgot password request is sent from, the link contains the root URL only.
          Hide
          Michael Saechang added a comment -

          Updated ticket as per Drew's comment. Thank you for verifying.

          Show
          Michael Saechang added a comment - Updated ticket as per Drew's comment. Thank you for verifying.
          Hide
          Michael Saechang added a comment -

          Committed on:
          6.1.x GIT ID: 5e015ae2247cf34b4415eed39ffb8edc558a9177.
          6.2.x GIT ID: b308ab93575eaf2dee895c3da9979586aff2658b.

          Show
          Michael Saechang added a comment - Committed on: 6.1.x GIT ID: 5e015ae2247cf34b4415eed39ffb8edc558a9177. 6.2.x GIT ID: b308ab93575eaf2dee895c3da9979586aff2658b.
          Hide
          Tammy Fong added a comment - - edited

          PASSED Manual Testing using the following the steps:

          1. Setup Mail server settigns
          2. Create new user
          3. Create new site
          a. Page 1, blank
          b. Page 2, with Sign In portlet
          4. Sign out
          5. Navigate to the new site Page 1
          6. Click Sign in link in upper right
          7. Click forgot password
          8. Proceed to reset password
          9. Navigate to the new site Page 2
          10. Click forgot password in Sign In portlet
          11. Proceed to reset password
          12. Check email for the reset password links

          Reproduced on:
          Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: ace6c30db11298f8588a8db7a7e86fb32471a5bb.

          The reset password links will redirect guest to a source not found error.

          Fixed on:
          Tomcat 7.0.25 + MySQL 5. 6.1.x GIT ID: c2ff400142bdf71584367c2e7ca7e0e52f67a444.
          Tomcat 7.0.25 + MySQL 5. 6.2.x GIT ID: 62d5852afa9e0ac5bddc53c8da77686f5558cb09.

          The reset password links will redirect guest to the corresponding site page from which the Reset Password was clicked by the user.

          Show
          Tammy Fong added a comment - - edited PASSED Manual Testing using the following the steps: 1. Setup Mail server settigns 2. Create new user 3. Create new site a. Page 1, blank b. Page 2, with Sign In portlet 4. Sign out 5. Navigate to the new site Page 1 6. Click Sign in link in upper right 7. Click forgot password 8. Proceed to reset password 9. Navigate to the new site Page 2 10. Click forgot password in Sign In portlet 11. Proceed to reset password 12. Check email for the reset password links Reproduced on: Tomcat 7.0.23 + MySQL 5. 6.2.x GIT ID: ace6c30db11298f8588a8db7a7e86fb32471a5bb. The reset password links will redirect guest to a source not found error. Fixed on: Tomcat 7.0.25 + MySQL 5. 6.1.x GIT ID: c2ff400142bdf71584367c2e7ca7e0e52f67a444. Tomcat 7.0.25 + MySQL 5. 6.2.x GIT ID: 62d5852afa9e0ac5bddc53c8da77686f5558cb09. The reset password links will redirect guest to the corresponding site page from which the Reset Password was clicked by the user.
          Hide
          Cynthia Wilburn (Inactive) added a comment -

          Reopening to add 6.1.1 CE GA2. Close as Fixed.

          Show
          Cynthia Wilburn (Inactive) added a comment - Reopening to add 6.1.1 CE GA2. Close as Fixed.
          Hide
          Edward Gonzales added a comment -

          Hello! We are renaming "User Notifications" to "Frameworks > Notifications Framework". Please make any necessary updates to your related filters. Thanks!

          Show
          Edward Gonzales added a comment - Hello! We are renaming "User Notifications" to "Frameworks > Notifications Framework". Please make any necessary updates to your related filters. Thanks!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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

                Development

                  Structure Helper Panel