Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034863 | Openbravo ERP | A. Platform | public | 2017-01-09 10:00 | 2017-03-15 20:18 |
|
Reporter | umartirena | |
Assigned To | inigosanchez | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034863: "Your password has expired" message while logging in is not properly translated to the language of the application |
Description | "Your password has expired" message while logging in is not properly translated to the language of the application. While executing the login and checking if the users password is expired or not (DefaultAuthenticationManager.java), the session variable of the language is empty so it always uses English by default. |
Steps To Reproduce | Setup an environment with any translation apart from English (French i.e. as the required message is properly translated there).
Logging as "Openbravo" in the backoffice.
Go to users window, find any user and set the password as "Expired".
Set default language of the system any language different to English(French).
Logout and Logging with the new user.
The following message appears in English when it should be in the other language. "Your password has expired. Please provide a new one" |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0031796 | | closed | jonibc | Extend functionality with the option to define a day limit for the password to be changed |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-01-09 10:00 | umartirena | New Issue | |
2017-01-09 10:00 | umartirena | Assigned To | => platform |
2017-01-09 10:00 | umartirena | Modules | => Core |
2017-01-09 10:00 | umartirena | Triggers an Emergency Pack | => No |
2017-01-09 10:01 | umartirena | Resolution time | => 1485126000 |
2017-01-09 12:15 | inigosanchez | Status | new => scheduled |
2017-01-09 12:15 | inigosanchez | Assigned To | platform => inigosanchez |
2017-01-09 12:59 | alostale | Relationship added | related to 0031796 |
2017-01-09 13:00 | alostale | Type | design defect => defect |
2017-01-09 16:15 | inigosanchez | Note Added: 0093270 | |
2017-01-09 17:19 | inigosanchez | Review Assigned To | => alostale |
2017-01-09 17:22 | hgbot | Checkin | |
2017-01-09 17:22 | hgbot | Note Added: 0093272 | |
2017-01-09 17:22 | hgbot | Status | scheduled => resolved |
2017-01-09 17:22 | hgbot | Resolution | open => fixed |
2017-01-09 17:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8f8221fada5b54564f985dc1fac546db818676a1 [^] |
2017-01-13 12:41 | alostale | Note Added: 0093513 | |
2017-01-13 12:41 | alostale | Status | resolved => closed |
2017-01-13 12:41 | alostale | Fixed in Version | => 3.0PR17Q2 |
2017-03-15 20:18 | hudsonbot | Checkin | |
2017-03-15 20:18 | hudsonbot | Note Added: 0095071 | |
Notes |
|
|
Testing issue with "Translation: Spanish-Spain (es_ES) español-España" module installed -> "Your password has expired" message should be translated properly. |
|
|
(0093272)
|
hgbot
|
2017-01-09 17:22
|
|
Repository: erp/devel/pi
Changeset: 8f8221fada5b54564f985dc1fac546db818676a1
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Jan 09 13:29:01 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8f8221fada5b54564f985dc1fac546db818676a1 [^]
Fixed issue 34863: message while logging in is not properly translated
While executing the login and checking if the users password is expired or not (DefaultAuthenticationManager.java), the session variable of the language is empty so it always uses English language by default. For this reason 'CPExpirationPassword' message was not properly translated.
In order to reach an homogeneous behaviour related with translations it has been added language in LoginHandler class. Now the problem has been fixed and message is translated properly.
---
M src/org/openbravo/base/secureApp/LoginHandler.java
---
|
|
|
|
code reviewed
tested
- Defining a non English lang at system level, it correctly shows login page in that language as well as expired password message
- it's possible to correctly change session language |
|
|
|
|