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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056887
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2024-10-24 14:542024-11-05 13:47
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056887: Error when switching from POS to SCO using a user with access to the System Admin role

DescriptionAn error occurs when:
- a terminal is configured to support both POS and SCO
- the Login Method property of the SCO Configuration is "Use POS User"
- a user with access to the System Admin role swithces from POS to SCO

When that happens, the switch does not take place, a "Cannot read properties of undefined. Reading .organization
Steps To Reproduce- Configure a terminal to support both POS and SCO
- Set "Use POS User" as Login Method in the SCO Configuration
- Log in in POS using the Openbravo user
- Click on the Switch to SCo button on the top right. The error will be reproduced
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0170901)
hgbot (developer)
2024-10-24 14:56

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1622 [^]
(0171418)
hgbot (developer)
2024-11-05 13:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 86125eeb627201a8f1eca9bc060994eb997b1065
Author: Augusto Mauch <a.mauch@orisha.com>
Date: 05-11-2024 11:52:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/86125eeb627201a8f1eca9bc060994eb997b1065 [^]

Fixes ISSUE-56887: Select proper role when switching from POS to SCO

The problem was that depending on the user/role configuration, sometimes the System Admin role was
proposed to be used when switching from POS to SCO.

The fix this problem, now when looking for the proposed role a client filter is added, to ensure
that the role is not from the System client

---
M src/org/openbravo/core2/process/SwitchApplicationMode.java
---
(0171419)
hgbot (developer)
2024-11-05 13:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1622 [^]

- Issue History
Date Modified Username Field Change
2024-10-24 14:54 AugustoMauch New Issue
2024-10-24 14:54 AugustoMauch Assigned To => AugustoMauch
2024-10-24 14:54 AugustoMauch OBNetwork customer => No
2024-10-24 14:54 AugustoMauch Triggers an Emergency Pack => No
2024-10-24 14:54 AugustoMauch Status new => scheduled
2024-10-24 14:56 hgbot Merge Request Status => open
2024-10-24 14:56 hgbot Note Added: 0170901
2024-10-24 15:10 AugustoMauch Summary Error when switching from POS to SCO using the Openbravo user => Error when switching from POS to SCO using a user with access to the System Admin role
2024-11-05 11:54 hgbot Merge Request Status open => approved
2024-11-05 13:47 hgbot Resolution open => fixed
2024-11-05 13:47 hgbot Status scheduled => closed
2024-11-05 13:47 hgbot Fixed in Version => 25Q1
2024-11-05 13:47 hgbot Note Added: 0171418
2024-11-05 13:47 hgbot Note Added: 0171419


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker