When a new user is registered and activated using the link in activation email, logging in with this new user credentials redirects back to login screen with welcome message. Screenshot 1. There was no "Activation Successful" message or was not directed to user dashboard.
Tried entering password again. Got already user logged in message. Screenshot 2
Refreshing the page did not work, hence opened new tab and got the dashboard screen as shown in Screenshot3
Due to bug in jsf 2.1, we are unable to display activation message in the login screen after redirection. Previous implementation also causing issue of after redirection to login page, the rules in pages.xml are being ignored.
This fix is to make sure the workflow from account activation -> login -> redirection rules in pages.xml works as it should.
This will be solve in the CDI branch.
This seems to be working in the branch 'fail-if-js-warning' (which includes URL rewrite changes). See