Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013135 | Openbravo ERP | A. Platform | public | 2010-04-27 14:59 | 2010-05-15 00:00 |
|
Reporter | shuehner | |
Assigned To | mtaal | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0013135: OBContext.getLanguage() returns 'wrong' language, if user does not have a default language set |
Description | With two system languages active (en_US + es_ES) the getLanguage() call did return es_ES as a language, even if no user had set his language to es_ES.
Caused by getLanguage fallback code not using the system-client language in case no user-default language is set.
|
Steps To Reproduce | see steps to reproduce in issue 12768 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0012768 | | closed | shuehner | Data audit window shows record changes in the wrong language |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-04-27 14:59 | shuehner | New Issue | |
2010-04-27 14:59 | shuehner | Assigned To | => mtaal |
2010-04-27 14:59 | shuehner | OBNetwork customer | => No |
2010-04-27 14:59 | shuehner | Relationship added | blocks 0012768 |
2010-04-27 22:32 | hgbot | Checkin | |
2010-04-27 22:32 | hgbot | Note Added: 0026734 | |
2010-04-27 22:32 | hgbot | Status | new => resolved |
2010-04-27 22:32 | hgbot | Resolution | open => fixed |
2010-04-27 22:32 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d61ce2cd289253212f817a70cc3eb57e103efbce [^] |
2010-05-14 12:16 | shuehner | Note Added: 0027236 | |
2010-05-14 12:16 | shuehner | Status | resolved => closed |
2010-05-14 12:16 | shuehner | Fixed in Version | => pi |
2010-05-14 15:28 | hudsonbot | Checkin | |
2010-05-14 15:28 | hudsonbot | Note Added: 0027304 | |
2010-05-15 00:00 | anonymous | sf_bug_id | 0 => 3001856 |
Notes |
|
(0026734)
|
hgbot
|
2010-04-27 22:32
|
|
Repository: erp/devel/pi
Changeset: d61ce2cd289253212f817a70cc3eb57e103efbce
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 27 22:32:28 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d61ce2cd289253212f817a70cc3eb57e103efbce [^]
fixes issue 13135: OBContext.getLanguage() returns 'wrong' language, if user does not have a default language set
fixes issue 13136: OBContext.getLanguage does only use users' default language, and does not honor language change in the role change popup
---
M src-test/org/openbravo/test/dal/IssuesTest.java
M src/org/openbravo/base/secureApp/LoginUtils.java
M src/org/openbravo/dal/core/OBContext.java
---
|
|
|
|
Tested in pi/pgsql, rev: da4cfb0dabc7. Code-change reviewed, now using the system client language instead of the old fallback code. Tested using 'Audit Trail' popup as its translation of labels inside the grid is using the ObContext.getLanguage to retrieve the language to use. -> Working fine. |
|
|
|
|