Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056887 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2024-10-24 14:54 | 2024-11-05 13:47 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 25Q1 | |||
Status | closed | 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 | approved | |||||||
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 | 0056887: Error when switching from POS to SCO using a user with access to the System Admin role | |||||||
Description | An 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 [^] |
![]() |
|||
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 |