Changing user email address redirects to invalid page

Description

If the user verifies their email address change, the url
http://localhost:8080/home.xhtml?dswid=1314
is displayed. The url for this instance was http://localhost:8080/zanata/

  • Log in

  • Got to dashboard Settings

  • Enter <username@email.com> into Email field

  • Press Update Email

  • Check email

  • Go to link indicated in email

Actual:
JBWEB000065: HTTP Status 404 - /home.xhtml
JBWEB000309: type JBWEB000067: Status report
JBWEB000068: message /home.xhtml
JBWEB000069: description JBWEB000124: The requested resource is not available.
JBoss Web/7.5.7.Final-redhat-1

Expected:
Homepage, with "Email changed" notification

Additional:
log indicates
15:47:11,892 INFO [org.zanata.action.ValidateEmailAction] (http-/127.0.0.1:8080-1) update email address to djansen@redhat.com successfully

Environment

JBoss eap 6.4, Fedora 22, tcms test database

Activity

Show:
Alex Eng
January 21, 2016, 10:25 PM
Edited

This will have the same issue as account activation where the message won't display but redirection works.

One of the solution I can think of is instead of using /account/validate_email/{key} and /account/activate/{key} to validate, use

With that, we can ensure message gets displayed properly.

Ready for Release

Assignee

Alex Eng

Reporter

Damian Jansen

Labels

Tested Version/s

None

Components

Sprint

None

Fix versions

Affects versions

Priority

High
Configure