Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0047396 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | always | 2021-07-14 17:02 | 2021-10-04 17:42 | |||||||
Reporter | Sergio_Gomez | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | no change required | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Merge Request Status | ||||||||||||
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 | 0047396: No ticket information arrives at the completeTicket post hook in stateAPI because it is reset before. | |||||||||||
Description | Some ticket information (documentNo, id ...) is removed in the removeTicket function before being stored in the new state and cannot be accessed in a postHook to manage it. | |||||||||||
Steps To Reproduce | - In livebuilds 21q2 release - Login to the pos - Open the chrome developer tools - Open the web/js/gen file in pretty print mode - Put breakpoints on line 38418: ({ticketList: newTicketList, ticket: newTicket} = OB.App.State.TicketList.Utils.removeTicket(newTicketList, newTicket, payload)); and on line 38424: return newGlobalState; -In the POS pay a product and select Done -Check at the first breakpoint that the newTicket variable has the information of the ticket (such as documentNo) and select play button to resume script execution. -Check at the second breakpoint that in the NewGlobalState.Ticket does not appears the ticket information because it was deleted in the removeTicket function. As a result, the following postHooks cannot access the information of the ticket in the state. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
![]() |
|
![]() |
|
(0132151) Sergio_Gomez (viewer) 2021-10-04 17:42 |
Habitual behavior of the hook. The information of the last ticket can be accessed through the messages model. |
![]() |
|||
Date Modified | Username | Field | Change |
2021-07-14 17:02 | Sergio_Gomez | New Issue | |
2021-07-14 17:02 | Sergio_Gomez | Assigned To | => Retail |
2021-07-14 17:02 | Sergio_Gomez | Triggers an Emergency Pack | => No |
2021-07-14 17:34 | Practics | Issue Monitored: Practics | |
2021-10-04 17:42 | Sergio_Gomez | OBNetwork customer | => No |
2021-10-04 17:42 | Sergio_Gomez | Note Added: 0132151 | |
2021-10-04 17:42 | Sergio_Gomez | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |