Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15899

Global users cannot recover their password from a subwiki due to macro errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 10.11-rc-1
    • 10.10-rc-1
    • Administration
    • Windows 10 Pro 64 bit, Firefox 63, using a local instance XWiki 10.10 RC1 on Oracle 11.2
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      Preconditions: Email server is configured on the subwiki. A global user with a valid address set on his profile is already created on the Main Wiki.

      1. Create a subwiki with option 'Both global and local users are available in the wiki'
      2. In a private/incognito window, access the subwiki and click on 'Log-in'
      3. On the Log-in page, click on 'Forgot your password?'
      4. Fill the username of the global user
      5. Click 'Reset password'
      6. Go to the mail received and click on the reset link

      EXPECTED RESULTS

      The user is redirected to the 'Reset your password page' and the password can be changed.

      ACTUAL RESULTS

      On the 'Reset your password page' there are some macro errors which prevent the change of the password. The following errors are encountered in console:

      2018-11-23 18:31:46,456 [http://localhost:1010/xwiki/wiki/subwikiglobal/view/XWiki/ResetPasswordComplete?u=U1&v=Coq2QvqRZOPFbbEgGvlsyMmdPhZ0f1] ERROR o.x.v.i.DefaultVelocityEngine  - Exception in macro #encrypt called at 491:subwikiglobal:XWiki.ResetPasswordComplete[line 52, column 1]
      2018-11-23 18:31:46,456 [http://localhost:1010/xwiki/wiki/subwikiglobal/view/XWiki/ResetPasswordComplete?u=U1&v=Coq2QvqRZOPFbbEgGvlsyMmdPhZ0f1] ERROR o.x.v.i.DefaultVelocityEngine  - Exception in macro #verifyRequest called at 491:subwikiglobal:XWiki.ResetPasswordComplete[line 99, column 1]

      Attachments

        Issue Links

          Activity

            People

              atallahade Adel Atallah
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: