Details
-
Bug
-
Resolution: Fixed
-
Major
-
10.10-rc-1
-
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.
- Create a subwiki with option 'Both global and local users are available in the wiki'
- In a private/incognito window, access the subwiki and click on 'Log-in'
- On the Log-in page, click on 'Forgot your password?'
- Fill the username of the global user
- Click 'Reset password'
- 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
- is related to
-
XWIKI-15682 Global users can't recover their password from a subwiki
- Closed