Affects Version/s: 5.6.0-HF13
Fix Version/s: 5.6.0-HF19, 5.7.1
When using the user registration module to invite a user, the use sometimes get a 404 on the first login. It is caused by an invalid URL:
I say "sometimes", because it seems that depending on the context, either the bug will occur, or the session will not be kept and the user will be redirected to his home page instead.
The bugs seems to be introduced by this commit:
In particular the line:
getContext().getRequest().getSession().setAttribute( START_PAGE_SAVE_KEY, redirectUrl);