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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051445
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] POSmajorhave not tried2023-01-23 18:042023-06-27 11:56
ReporterjavierRodriguezView Statuspublic 
Assigned TojavierRodriguez 
PrioritynormalResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051445: 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 ]
depends on backport 005153523Q1 closedjavierRodriguez POS2 Create a mechanism to detect that POS is working with a duplicated ticket id 
depends on backport 005181122Q4.3 closedjavierRodriguez POS2 Create a mechanism to detect that POS is working with a duplicated ticket id 
depends on backport 005268022Q3 closedmeriem_azaf POS2 Create a mechanism to detect that POS is working with a duplicated ticket id 
related to defect 0052052 closedAugustoMauch POS2 Reduce the number of times the state is persisted on disk 
related to defect 0052864 closedranjith_qualiantech_com POS2 Cashup should be retrieved from backend if POS is working with a duplicated ticket ID 
related to defect 0053425 closedranjith_qualiantech_com Retail Modules POS draft tickets should be validated in backoffice when completing/deleting the ticket 
related to defect 0055835 newRetail POS2 It should not be allowed to pay a ticket with a duplicated documentNo 

-  Notes
(0146100)
hgbot (developer)
2023-01-31 16:54

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1052 [^]
(0146105)
hgbot (developer)
2023-01-31 17:52

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

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

Directly closing issue as related merge request is already approved.

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

Fixed ISSUE-51445: 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
---
(0146252)
hgbot (developer)
2023-02-03 11:04

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

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

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

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

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1062 [^]
(0146384)
hgbot (developer)
2023-02-10 13:29

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

Related to ISSUE-51445: 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
---
(0146385)
hgbot (developer)
2023-02-10 13:29

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1062 [^]
(0146665)
hgbot (developer)
2023-02-16 21:43

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1069 [^]
(0146666)
hgbot (developer)
2023-02-16 21:45

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

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 1da0e54adf901914f36136f1859983dde999246e
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-02-2023 07:34:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/1da0e54adf901914f36136f1859983dde999246e [^]

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

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

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 7134f2af747e0742a872fbb458f549222141edbd
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 20-02-2023 07:34:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7134f2af747e0742a872fbb458f549222141edbd [^]

Related to ISSUE-51445: 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
---
(0146744)
hgbot (developer)
2023-02-20 08:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1531 [^]
(0146745)
hgbot (developer)
2023-02-20 08:34

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: dd49e6fac0e8aa84b8f1d938fea7b157d80d2681
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 16-02-2023 18:25:31
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/dd49e6fac0e8aa84b8f1d938fea7b157d80d2681 [^]

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

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadLocalTicket.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js
---
(0146746)
hgbot (developer)
2023-02-20 08:34

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

Related to ISSUE-51445: Fix how th ticket list is set depending on createNewTicket flow

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

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1069 [^]

- Issue History
Date Modified Username Field Change
2023-01-23 18:04 javierRodriguez New Issue
2023-01-23 18:04 javierRodriguez Assigned To => javierRodriguez
2023-01-23 18:04 javierRodriguez Triggers an Emergency Pack => No
2023-01-31 16:54 hgbot Note Added: 0146100
2023-01-31 17:52 hgbot Note Added: 0146105
2023-02-02 12:36 guilleaer Status new => scheduled
2023-02-02 12:36 guilleaer Status scheduled => acknowledged
2023-02-02 12:37 guilleaer Status acknowledged => scheduled
2023-02-03 11:04 hgbot Resolution open => fixed
2023-02-03 11:04 hgbot Status scheduled => closed
2023-02-03 11:04 hgbot Note Added: 0146250
2023-02-03 11:04 hgbot Fixed in Version => RR23Q2
2023-02-03 11:04 hgbot Note Added: 0146251
2023-02-03 11:04 hgbot Note Added: 0146252
2023-02-03 11:04 hgbot Note Added: 0146253
2023-02-09 18:51 javierRodriguez Status closed => new
2023-02-09 18:51 javierRodriguez Resolution fixed => open
2023-02-09 18:51 javierRodriguez Fixed in Version RR23Q2 =>
2023-02-10 11:31 hgbot Note Added: 0146367
2023-02-10 13:29 hgbot Note Added: 0146384
2023-02-10 13:29 hgbot Note Added: 0146385
2023-02-10 13:34 javierRodriguez Status new => scheduled
2023-02-10 13:34 javierRodriguez Status scheduled => resolved
2023-02-10 13:34 javierRodriguez Resolution open => fixed
2023-02-10 13:34 javierRodriguez Status resolved => closed
2023-02-16 21:43 hgbot Note Added: 0146665
2023-02-16 21:45 hgbot Note Added: 0146666
2023-02-20 08:34 hgbot Note Added: 0146742
2023-02-20 08:34 hgbot Note Added: 0146743
2023-02-20 08:34 hgbot Note Added: 0146744
2023-02-20 08:34 hgbot Note Added: 0146745
2023-02-20 08:34 hgbot Note Added: 0146746
2023-02-20 08:34 hgbot Note Added: 0146747
2023-03-08 13:34 javierRodriguez Status closed => new
2023-03-08 13:34 javierRodriguez Resolution fixed => open
2023-03-08 13:34 javierRodriguez Status new => scheduled
2023-03-08 13:37 javierRodriguez Status scheduled => resolved
2023-03-08 13:37 javierRodriguez Resolution open => fixed
2023-03-20 11:54 javierRodriguez Status resolved => closed
2023-04-20 16:33 malsasua Relationship added related to 0052052
2023-06-06 13:45 meriem_azaf Relationship added depends on 0052680
2023-06-06 14:19 javierRodriguez Status closed => new
2023-06-06 14:19 javierRodriguez Resolution fixed => open
2023-06-27 11:56 marvintm Status new => scheduled
2023-06-27 11:56 marvintm Status scheduled => resolved
2023-06-27 11:56 marvintm Fixed in Version => 23Q3
2023-06-27 11:56 marvintm Resolution open => fixed
2023-06-27 11:56 marvintm Review Assigned To => marvintm
2023-06-27 11:56 marvintm Status resolved => closed
2023-06-27 15:51 AugustoMauch Relationship added related to 0052864
2023-09-11 09:00 ranjith_qualiantech_com Relationship added related to 0053425
2024-06-25 13:24 asier_perez Relationship added related to 0055835


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker