Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0050410 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [POS2] Core | major | have not tried | 2022-10-04 17:39 | 2022-10-04 17:42 | |||||||
| Reporter | marvintm | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0050410: Cannot change the language of the application if default role and language are set | |||||||||||
| Description | It is currently not possible to change the language of the application if the user has a default POS role, and this role has a default POS Language. The application will reload, but the language will not change. | |||||||||||
| Steps To Reproduce | - Set a user with a default POS role in the backoffice - Set a default POS language for this role in the backoffice - Log in the POS with this user. Verify that the role and language are the default ones you selected. This is OK. - Change the language using the Profile menu. Verify that the application reloads, but the language is still the default one. This is not OK. | |||||||||||
| Proposed Solution | It seems this code: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/src/org/openbravo/pos2/login/POS2LoginUtilsServlet.java#L129 [^] is enforcing that if the user has a default role and this role has a default language, this language should always be used. I think this is correct in the case the session is new and no language has been specified, but it should not work like this when a different language has been set in the session. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2022-10-04 17:39 | marvintm | New Issue | |
| 2022-10-04 17:39 | marvintm | Assigned To | => Triage Platform Base |
| 2022-10-04 17:39 | marvintm | OBNetwork customer | => No |
| 2022-10-04 17:39 | marvintm | Triggers an Emergency Pack | => No |
| 2022-10-04 17:41 | marvintm | Proposed Solution updated | |
| 2022-10-04 17:42 | marvintm | Steps to Reproduce Updated | View Revisions |
| 2022-10-04 17:42 | marvintm | Steps to Reproduce Updated | View Revisions |
| Copyright © 2000 - 2009 MantisBT Group |