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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051535
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2023-01-23 18:042023-02-20 08:31
ReporterjavierRodriguezView Statuspublic 
Assigned TojavierRodriguez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version23Q1
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

0051535: 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 SolutionThis 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
(0146239)
hgbot (developer)
2023-02-03 10:21

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1057 [^]
(0146254)
hgbot (developer)
2023-02-03 11:06

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1509 [^]
(0146255)
hgbot (developer)
2023-02-03 11:12

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ca8370ba81fac7825fded7e2f2f151ab4152a004
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 03-02-2023 10:20:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ca8370ba81fac7825fded7e2f2f151ab4152a004 [^]

Fixed ISSUE-51535: 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

---
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
---
(0146256)
hgbot (developer)
2023-02-03 11:12

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2e55887051bccdb0923d159b7f6cf248c297feec
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 03-02-2023 10:07:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2e55887051bccdb0923d159b7f6cf248c297feec [^]

Related to ISSUE-51535: Check if the current ticket is using a duplicated id

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
---
(0146257)
hgbot (developer)
2023-02-03 11:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1057 [^]
(0146258)
hgbot (developer)
2023-02-03 11:12

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1509 [^]
(0146370)
hgbot (developer)
2023-02-10 11:37

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1063 [^]
(0146371)
hgbot (developer)
2023-02-10 11:51

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 81b2741b0e3a57a2bd38e1a038757e832c4e94cc
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 10-02-2023 11:34:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/81b2741b0e3a57a2bd38e1a038757e832c4e94cc [^]

Related to ISSUE-51535: Ensure the is data in the paid receipt response

---
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
---
(0146372)
hgbot (developer)
2023-02-10 11:51

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1063 [^]
(0146699)
hgbot (developer)
2023-02-17 13:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1072 [^]
(0146700)
hgbot (developer)
2023-02-17 13:40

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1072 [^]
(0146704)
hgbot (developer)
2023-02-17 13:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1534 [^]
(0146736)
hgbot (developer)
2023-02-20 08:30

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8a0ca9756fd7d0bc9c8d6734b648e5212fe0305f
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 17-02-2023 13:43:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8a0ca9756fd7d0bc9c8d6734b648e5212fe0305f [^]

Related to ISSUE-51535: Send by payload the information to create a new ticket if it is needed

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---
(0146737)
hgbot (developer)
2023-02-20 08:30

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 0f7f7a39ee5a7d20b3f0864a02e7f2d8982dc492
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 17-02-2023 13:43:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/0f7f7a39ee5a7d20b3f0864a02e7f2d8982dc492 [^]

Related to ISSUE-51535: Fix how the ticket list is set depending on createNewTicket flow

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadLocalTicket.js
---
(0146738)
hgbot (developer)
2023-02-20 08:30

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1072 [^]
(0146739)
hgbot (developer)
2023-02-20 08:31

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 4c4f6fa658eafb2d26478c76e73e43231aadd4ca
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 17-02-2023 13:56:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/4c4f6fa658eafb2d26478c76e73e43231aadd4ca [^]

Related to ISSUE-51535: Send by payload the information to create a new ticket if it is needed

---
M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js
---
(0146740)
hgbot (developer)
2023-02-20 08:31

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 9083752c39135e913970a64f056ca5d5c5490c65
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 17-02-2023 13:57:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/9083752c39135e913970a64f056ca5d5c5490c65 [^]

Related to ISSUE-51535: Add prehook to prepare payload in LoadLocalTicket user action

---
M web-jspack/org.openbravo.pos2/src/model/ticket/__test__/LoadLocalTicket.test.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/LoadLocalTicket.js
---
(0146741)
hgbot (developer)
2023-02-20 08:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1534 [^]

- Issue History
Date Modified Username Field Change
2023-02-02 12:36 guilleaer Type feature request => backport
2023-02-02 12:36 guilleaer Target Version => 23Q1
2023-02-03 10:21 hgbot Note Added: 0146239
2023-02-03 11:06 hgbot Note Added: 0146254
2023-02-03 11:12 hgbot Resolution open => fixed
2023-02-03 11:12 hgbot Status scheduled => closed
2023-02-03 11:12 hgbot Fixed in Version => RR23Q1
2023-02-03 11:12 hgbot Note Added: 0146255
2023-02-03 11:12 hgbot Note Added: 0146256
2023-02-03 11:12 hgbot Note Added: 0146257
2023-02-03 11:12 hgbot Note Added: 0146258
2023-02-09 19:41 javierRodriguez Status closed => new
2023-02-09 19:41 javierRodriguez Resolution fixed => open
2023-02-09 19:41 javierRodriguez Fixed in Version RR23Q1 =>
2023-02-10 11:37 hgbot Note Added: 0146370
2023-02-10 11:51 hgbot Note Added: 0146371
2023-02-10 11:51 hgbot Note Added: 0146372
2023-02-10 13:35 javierRodriguez Status new => scheduled
2023-02-10 13:35 javierRodriguez Status scheduled => resolved
2023-02-10 13:35 javierRodriguez Resolution open => fixed
2023-02-10 13:35 javierRodriguez Status resolved => closed
2023-02-17 13:40 hgbot Note Added: 0146699
2023-02-17 13:40 hgbot Note Added: 0146700
2023-02-17 13:59 hgbot Note Added: 0146704
2023-02-20 08:30 hgbot Note Added: 0146736
2023-02-20 08:30 hgbot Note Added: 0146737
2023-02-20 08:30 hgbot Note Added: 0146738
2023-02-20 08:31 hgbot Note Added: 0146739
2023-02-20 08:31 hgbot Note Added: 0146740
2023-02-20 08:31 hgbot Note Added: 0146741


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker