Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0052680 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [POS2] POS | major | have not tried | 2023-06-06 13:45 | 2023-06-16 09:32 | |||
| Reporter | meriem_azaf | View Status | public | |||||
| Assigned To | meriem_azaf | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | 22Q3 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | merged | |||||||
| 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 | 0052680: 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 |
|
|
(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 | OBNetwork customer | => No |
| 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 | Merge Request Status | => open |
| 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 | Merge Request Status | open => merged |
| 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 |