Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0047396 | Retail Modules | Web POS | public | 2021-07-14 17:02 | 2021-10-04 17:42 | 
| Reporter | Sergio_Gomez | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | new | Resolution | no change required | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| 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.  | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | |||
| 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 | ||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||