Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050410
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorhave not tried2022-10-04 17:392022-10-04 17:42
ReportermarvintmView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050410: Cannot change the language of the application if default role and language are set

DescriptionIt 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 SolutionIt 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 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
Powered by Mantis Bugtracker