Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0057659 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | critical | have not tried | 2025-01-16 11:51 | 2025-01-20 11:56 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 25Q2 | |||
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 | |||||||
Review Assigned To | jarmendariz | |||||||
Regression level | Packaging and release | |||||||
Regression date | 2025-01-03 | |||||||
Regression introduced in release | ||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/23469ecab2b83e4c1d8ed39b906c91a2abcee52b [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0057659: Switching from POS to SCO with "Use POS User" option does not switch to SCO | |||||||
Description | The switch from POS to SCO fails to work when the option selected for Login Method in Backoffice is set to "Use POS User". The application refreshes and the application mode is the same as before, POS. | |||||||
Steps To Reproduce | 1. Login in backoffice as White Valley Group Admin 2. Go to SCO Configuration window, and open sco-config record 3. Change Login Method under Access and Log In to "Use POS User" 4. Open the POS and login as vallblanca user. 5. Execute Refresh Masterdata under setting if a masterdata refresh didn't happen 6. Click on the Switch to SCO button, on the top right part of the application Check that there's a refresh, but no switch has been performed | |||||||
Proposed Solution | Upsert the session information when switching mode without login. As of now it is only upserted on login, so the session info saved in indexedDB is not completely accurate with what was changed in the local state. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0174228) hgbot (developer) 2025-01-16 13:29 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/135 [^] |
(0174316) hgbot (developer) 2025-01-17 13:16 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^] Changeset: aebfb1aa478bab144d646118e3057f9e4da9b4a3 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 16-01-2025 13:28:01 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/aebfb1aa478bab144d646118e3057f9e4da9b4a3 [^] Fixes ISSUE-57659: Switching from POS to SCO with "Use POS User" option does not switch to SCO The problem is that the saved session in indexedDB was not updated with the changed value in local state. Once the refresh is performed, the wrong value was retrieved. --- M web-jspack/org.openbravo.pos2.selfcheckout/src/model/sco-mode/SwitchUserFunctions.js --- |
(0174317) hgbot (developer) 2025-01-17 13:16 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/135 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2025-01-16 11:51 | cberner | New Issue | |
2025-01-16 11:51 | cberner | Assigned To | => cberner |
2025-01-16 11:51 | cberner | Regression level | => Packaging and release |
2025-01-16 11:51 | cberner | Regression date | => 2025-01-03 |
2025-01-16 11:51 | cberner | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/23469ecab2b83e4c1d8ed39b906c91a2abcee52b [^] |
2025-01-16 11:51 | cberner | Triggers an Emergency Pack | => No |
2025-01-16 12:00 | cberner | Status | new => acknowledged |
2025-01-16 12:05 | alostale | Relationship added | caused by 0057416 |
2025-01-16 13:29 | hgbot | Note Added: 0174228 | |
2025-01-17 13:16 | hgbot | Resolution | open => fixed |
2025-01-17 13:16 | hgbot | Status | acknowledged => closed |
2025-01-17 13:16 | hgbot | Note Added: 0174316 | |
2025-01-17 13:16 | hgbot | Note Added: 0174317 | |
2025-01-20 11:35 | cberner | Status | closed => new |
2025-01-20 11:35 | cberner | Resolution | fixed => open |
2025-01-20 11:56 | cberner | Status | new => scheduled |
2025-01-20 11:56 | cberner | Status | scheduled => resolved |
2025-01-20 11:56 | cberner | Fixed in Version | => 25Q2 |
2025-01-20 11:56 | cberner | Resolution | open => fixed |
2025-01-20 11:56 | cberner | Review Assigned To | => jarmendariz |
2025-01-20 11:56 | cberner | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |