Affects Version/s: 6.1.20 EE GA2, 6.1.X EE, 6.2.0 CE B1
Environment:LIFERAY VERSION: 6.1 GA2
OPERATING SYSTEM: Other Linux Distribution
APPLICATION SERVER: JBoss 7.1 AS
JAVA VIRTUAL MACHINE: Java 6
DATABASE: MySQL 5.5
Short description of the issue:
Given that a user attempts to create a new account, but enters the wrong email address on accident, and the feature for Enabling Email Verification is enabled, the first time this user logs on, they will be presented with a field to enter an email verification code. There is an option to change the email, but clicking on this button does not function as intended. The user is unable to change their email address. Instead, they are asked to change their password. When they attempt to, they are kicked back to the original email verification page with an error message that indicates that they have inputted an incorrect verification code.
Steps to reproduce / testing done:
In other use cases, the user is presented with a Password Challenge Question (e.g. "What is your father's first name?"), but the same result of being redirected to the Email verification code page with the error message occurs.
Results of steps / testing:
Instead of going forward with the email verification change, I am kicked back to the "Enter Email Verification Code" page with an error.
I am kicked back to the Enter Email Verification code page and told "Please enter a valid verification code."
Testing in 6.1.20 EE
Initially discovered in this version.
Testing in 6.1.X:
Reproduced in 6.1.X
Testing in Trunk:
Reproduced in Trunk
Repair the issue with email verification loop around when the user attempts to change their email address.