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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047396
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-07-14 17:022021-07-14 17:34
ReporterSergio_GomezView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0047396: No ticket information arrives at the completeTicket post hook in stateAPI because it is reset before.

DescriptionSome 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker