View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006026 | OXID eShop (all versions) | 1.05. Users | public | 2015-01-21 16:10 | 2024-09-25 11:55 |
Reporter | JaroslavHerber | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 4.9.2 / 5.2.2 | ||||
Summary | 0006026: Valide email-address is recognized as invalide if wrong password typed in | ||||
Description | If you want to change your email-address in the delivery-address-form (user account) but you type in a wrong password, you will also get an invalide-mail-error, although the email-address is correctly. See "Additional Information". Another bug: in Azure-theme the typed in email-address is not stored! | ||||
Steps To Reproduce | 1. Login 2. Go to "change delivery address"-page 3. type in other (valide) email-address 4. type in wrong password and submit form 5. you will get 2 error-messages: - ERROR_MESSAGE_INPUT_NOVALIDEMAIL - ERROR_MESSAGE_PASSWORD_DO_NOT_MATCH 6. another bug: in Azure-theme the typed in email-address is not stored! | ||||
Additional Information | The reason for this bug you can find in oxuser->checkValues(): ... // 1. checking user name $sLogin = $oInputValidator->checkLogin($this, $sLogin, $aInvAddress); // 2. checking email $oInputValidator->checkEmail($this, $sLogin, $aInvAddress); ... -> The (string!) $sLogin-var, which should be the email-address, becomes an object that is returned by the oxInputValidator->checkLogin()-method. | ||||
Tags | I18N | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
maybe related to bugs 0005445 and 0005194 |
|
Please fix also: in oxinputvalidator->checkLogin() in line 158: Please use a different language-key. "ERROR_MESSAGE_PASSWORD_DO_NOT_MATCH" is not the right message. It should be something like: "The entered password is wrong". And not: "Error: passwords don't match." -> There is only one password-field in this case. |