Openbravo Issue Tracking System - POS2
View Issue Details
0058005POS2Corepublic2025-02-17 13:382025-02-23 18:20
cberner 
cberner 
normalmajorhave not tried
closedduplicate 
5
 
25Q1 
No
No
0058005: Login blocked because of an error related to an inconsistent state
Login fails with an error related to inconsistent state. This error does not happen in livebuilds, but it does happen in some specific clients. It seems to be due to some cashup state already being available, but not in its entirety.
Not reproducible in livebuilds, and not very clear steps to reproduce.

1. Initialize an environment
2. Try to login in WebPOS2

In some occasions the state includes ticket + an existing empty cashup, in that case, the error is thrown. The error was attached as part of this issue.
Properly handle checking Ticket.id and Cashup.id, instead of the objects, which usually exist but are empty.
No tags attached.
duplicate of backport 005796325Q1 closed AugustoMauch Management of inconsistent application state should be properly addressed in core2 applications 
blocks defect 0058004 closed cberner Login blocked because of an error related to an inconsistent state 
Issue History
2025-02-17 13:38cbernerTypedefect => backport
2025-02-17 13:38cbernerTarget Version => 25Q1
2025-02-23 18:20AugustoMauchRelationship addedduplicate of 0057963
2025-02-23 18:20AugustoMauchNote Added: 0176036
2025-02-23 18:20AugustoMauchStatusscheduled => closed
2025-02-23 18:20AugustoMauchResolutionopen => duplicate

Notes
(0176036)
AugustoMauch   
2025-02-23 18:20   
Merged here: 57963