Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052680
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2023-06-06 13:452023-06-16 09:32
Reportermeriem_azafView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version22Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052680: Create a mechanism to detect that POS is working with a duplicated ticket id

DescriptionAfter severals cases in production where the application is working with a brand new ticket which has a used id. This creates EWIs due to try to synchronise a ticket with duplicates ids.
Steps To ReproduceIn production, this problem appeared after an F5 (refresh) or after a delete ticket action.
Proposed Solution    This duplicated id should be checked:
- After an F5
- When a new ticket is set in Ticket state model

The application could have different scenarios when a ticket is set in the state. Ticket could be
- Processed tickets
- brand new tickets
- No-processed ticket which are in ticket list with products or payments on it.

It is necessary to take into account this different scenarios and do actions depending on them.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0051445 closedjavierRodriguez Create a mechanism to detect that POS is working with a duplicated ticket id 

-  Notes
(0151268)
hgbot (developer)
2023-06-16 09:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1248 [^]
(0151269)
hgbot (developer)
2023-06-16 09:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1248 [^]
(0151270)
hgbot (developer)
2023-06-16 09:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8dd25e125515b20bd24be4c16df7890c7c678a1a
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 16-06-2023 09:22:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8dd25e125515b20bd24be4c16df7890c7c678a1a [^]

Fixed ISSUE-52680: Check before load a local ticket if it is using a duplicated order id

- Extract paid receipt request to use in different places
- Create ticket utility function isOrderIdUsedInBackend to check duplicate order ids
- Create new action preparation in load local ticket action

Related to ISSUE-52680: Ensure the is data in the paid receipt response
Related to ISSUE-52680: Send by payload the information to create a new ticket if it is needed
Related to ISSUE-52680: Fix how th ticket list is set depending on createNewTicket flow

---
M web-test/model/business-object/ticket-list/actions/LoadLocalTicket.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadLocalTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---

- Issue History
Date Modified Username Field Change
2023-06-06 13:45 meriem_azaf New Issue
2023-06-06 13:45 meriem_azaf Assigned To => Retail
2023-06-06 13:45 meriem_azaf Triggers an Emergency Pack => No
2023-06-06 13:45 meriem_azaf Assigned To Retail => meriem_azaf
2023-06-06 13:45 meriem_azaf Status new => scheduled
2023-06-06 13:45 meriem_azaf Relationship added blocks 0051445
2023-06-16 09:32 hgbot Note Added: 0151268
2023-06-16 09:32 hgbot Resolution open => fixed
2023-06-16 09:32 hgbot Status scheduled => resolved
2023-06-16 09:32 hgbot Note Added: 0151269
2023-06-16 09:32 hgbot Fixed in Version => RR22Q3.3
2023-06-16 09:32 hgbot Note Added: 0151270
2023-06-16 09:32 AugustoMauch Status resolved => closed
2023-06-16 09:32 AugustoMauch Fixed in Version RR22Q3.3 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker