Openbravo Issue Tracking System - POS2
View Issue Details
0053956POS2POSpublic2023-11-16 11:242023-11-16 11:24
AugustoMauch 
AugustoMauch 
normalminorhave not tried
newopen 
5
 
 
No
0053956: False positives on "Error when persisting completion of ticket" when deleting a ticket
This code [1] is meant to display a warning when it detects that the state was not properly persisted after completing an order.

But the check that it does fails whenever a ticket is deleted and the POS is configured to send the deleted tickets to the backend. The check should be updated to consider this case, and other other than the happy path one should be reviewed

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/model/ticket/TicketUtils.js#L597 [^]
- In the backoffice, configure the "Web POS Save Removed Tickets", set it to Y for all users
- Login in POS2
- Create and complete a ticket. No warning should be displayed in the console
- Create a ticket, add some lines, and then delete the ticket. Even though no should be displayed, the "[statePersistance] Error when persisting completion of ticket..." error will be displayed
No tags attached.
Issue History
2023-11-16 11:24AugustoMauchNew Issue
2023-11-16 11:24AugustoMauchAssigned To => AugustoMauch
2023-11-16 11:24AugustoMauchTriggers an Emergency Pack => No

There are no notes attached to this issue.