Openbravo Issue Tracking System - POS2
View Issue Details
0058000POS2POSpublic2025-02-17 10:282025-02-18 13:22
jayala 
cberner 
normalmajorhave not tried
closedfixed 
5
 
25Q2 
2025-02-13
main
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/9cf77cc5f0dbc50fb83ffdd920e42a4820b58441 [^]
No
0058000: POS2 is blocked after a logout and login with an Order loaded
At POS2 and having an Order loaded in Terminal, if logout and then login is performed, the user can't use the Terminal anymore, a message "The application needs to be refreshed in order to update its state." is shown, and it keeps refreshing with the same message in an infinite loop.
1. Login WebPOS
1. Go to Orders window and load any Order.
2. With the Order loaded, logout.
3. Log in again.
4. The message is shown and the Terminal is useless.

* This also happens if the Terminal is locked automatically by timeout.
No tags attached.
depends on backport 005801425Q1 scheduled cberner POS2 is blocked after a logout and login with an Order loaded 
depends on backport 005801524Q4.2 closed cberner POS2 is blocked after a logout and login with an Order loaded 
caused by feature request 0056377 closed AugustoMauch Management of inconsistent application state should be properly addressed in core2 applications 
Not all the children of this issue are yet resolved or closed.
png Screenshot from 2025-02-17 09-04-06.png (56,515) 2025-02-17 10:28
https://issues.openbravo.com/file_download.php?file_id=20918&type=bug
png
Issue History
2025-02-17 10:28jayalaNew Issue
2025-02-17 10:28jayalaAssigned To => Retail
2025-02-17 10:28jayalaFile Added: Screenshot from 2025-02-17 09-04-06.png
2025-02-17 10:28jayalaTriggers an Emergency Pack => No
2025-02-17 10:29jayalaAssigned ToRetail => guillermogil
2025-02-17 10:30guillermogilAssigned Toguillermogil => guilleaer
2025-02-17 10:30guillermogilSeverityminor => major
2025-02-17 10:30guillermogilStatusnew => acknowledged
2025-02-18 06:11sreehariAssigned Toguilleaer => sreehari
2025-02-18 06:11sreehariStatusacknowledged => scheduled
2025-02-18 10:16cbernerRelationship addedcaused by 0056377
2025-02-18 10:17cbernerSummaryPOS2 is blocked after a logout and login with a Draft Order loaded => POS2 is blocked after a logout and login with an Order loaded
2025-02-18 10:17cbernerDescription Updatedbug_revision_view_page.php?rev_id=29252#r29252
2025-02-18 10:17cbernerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29254#r29254
2025-02-18 10:18cbernerRegression date => 2025-02-13
2025-02-18 10:18cbernerRegression introduced in release => main
2025-02-18 10:18cbernerRegression introduced by commit => https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/9cf77cc5f0dbc50fb83ffdd920e42a4820b58441 [^]
2025-02-18 10:20cbernerAssigned Tosreehari => cberner
2025-02-18 11:59hgbotNote Added: 0175806
2025-02-18 13:16cbernerStatusscheduled => acknowledged
2025-02-18 13:16cbernerStatusacknowledged => scheduled
2025-02-18 13:22hgbotResolutionopen => fixed
2025-02-18 13:22hgbotStatusscheduled => closed
2025-02-18 13:22hgbotNote Added: 0175818
2025-02-18 13:22hgbotFixed in Version => 25Q2
2025-02-18 13:22hgbotNote Added: 0175819

Notes
(0175806)
hgbot   
2025-02-18 11:59   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1780 [^]
(0175818)
hgbot   
2025-02-18 13:22   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1780 [^]
(0175819)
hgbot   
2025-02-18 13:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 694698fb0c14cd203bc89adf09f9d273afa2dd6a
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 18-02-2025 11:57:35
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/694698fb0c14cd203bc89adf09f9d273afa2dd6a [^]

Fixes ISSUE-58000: POS2 is blocked after a logout and login with an Order loaded

The order when loaded through the order window resulted in an invalid
ticket, which is incorrect.

---
M web-jspack/org.openbravo.core2/src/authentication/loginInitActions.js
---