Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0051811 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [POS2] POS | major | have not tried | 2023-01-23 18:04 | 2023-03-09 08:12 | |||
| Reporter | javierRodriguez | View Status | public | |||||
| Assigned To | javierRodriguez | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | 22Q4.3 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0051811: Create a mechanism to detect that POS is working with a duplicated ticket id | |||||||
| Description | After 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 Reproduce | In 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0147384) hgbot (developer) 2023-03-08 13:59 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1088 [^] |
|
(0147399) hgbot (developer) 2023-03-09 08:12 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 75decaa80de0fcb0a07d2795ae79f9acab284b8d Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com> Date: 08-03-2023 13:51:52 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/75decaa80de0fcb0a07d2795ae79f9acab284b8d [^] Fixed ISSUE-51811: 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 --- |
|
(0147400) hgbot (developer) 2023-03-09 08:12 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 36f55ef428665491a2d9722505a040482b904e1e Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com> Date: 08-03-2023 13:52:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/36f55ef428665491a2d9722505a040482b904e1e [^] Related to ISSUE-51811: 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 --- |
|
(0147401) hgbot (developer) 2023-03-09 08:12 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1088 [^] |
|
(0147402) hgbot (developer) 2023-03-09 08:12 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: dcfcbda1227b555596de3c787196d822fc2d8a81 Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com> Date: 08-03-2023 13:53:08 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/dcfcbda1227b555596de3c787196d822fc2d8a81 [^] Related to ISSUE-51811: 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 --- |
|
(0147403) hgbot (developer) 2023-03-09 08:12 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: a8fb016123156ce6f1ec63d4dbce241b70fd193a Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com> Date: 08-03-2023 13:53:47 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/a8fb016123156ce6f1ec63d4dbce241b70fd193a [^] Related to ISSUE-51811: 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 --- |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-03-08 13:34 | javierRodriguez | Type | feature request => backport |
| 2023-03-08 13:34 | javierRodriguez | Target Version | => 22Q4.3 |
| 2023-03-08 13:59 | hgbot | Note Added: 0147384 | |
| 2023-03-09 08:12 | hgbot | Resolution | open => fixed |
| 2023-03-09 08:12 | hgbot | Status | scheduled => closed |
| 2023-03-09 08:12 | hgbot | Fixed in Version | => RR22Q4.3 |
| 2023-03-09 08:12 | hgbot | Note Added: 0147399 | |
| 2023-03-09 08:12 | hgbot | Note Added: 0147400 | |
| 2023-03-09 08:12 | hgbot | Note Added: 0147401 | |
| 2023-03-09 08:12 | hgbot | Note Added: 0147402 | |
| 2023-03-09 08:12 | hgbot | Note Added: 0147403 | |
| Copyright © 2000 - 2009 MantisBT Group |