Openbravo Issue Tracking System - POS2
View Issue Details
0049269POS2POSpublic2022-05-09 15:552022-05-17 15:05
timothee_catteeuw 
javierRodriguez 
normalcriticalalways
closedfixed 
5
 
 
guilleaer
No
0049269: JIRA 2967 - Errors when trying to handle old tickets (regression)
The error described below appears as soon as wanting to handle an old ticket in sales history on WebPOS.

It happens when you want to :

Open the ticket

cancel the ticket

Cancel and replace the ticket

generate a proof of payment

 
POS2.js:3657 Cannot read properties of undefined (reading '0'); line: s (https://XXXXXX.test.cloud.openbravo.com/openbravo/web/pos/static/js/main.66b075ce.chunk.js:1:15344 [^]) (*)
OB.Console.error @ POS2.js:3657
i @ POS2.js:4346
OB.error @ POS2.js:4375
s @ ErrorHandler.js:28
await in s (asynchrone)
(anonyme) @ getUserAction.js:40
await in (anonyme) (asynchrone)
onLeftClick @ UserActionEvents.js:33
onLeftClick @ PopoverMenuEntry.jsx:56
onClick @ BaseButton.jsx:86
He @ react-dom.production.min.js:52
Ke @ react-dom.production.min.js:52
(anonyme) @ react-dom.production.min.js:53
Sr @ react-dom.production.min.js:100
_r @ react-dom.production.min.js:101
(anonyme) @ react-dom.production.min.js:113
ze @ react-dom.production.min.js:292
(anonyme) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Zt @ react-dom.production.min.js:75
Gt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
Hi @ react-dom.production.min.js:122
Ae @ react-dom.production.min.js:292
Xt @ react-dom.production.min.js:73

There is no error when I want to launch a verified return but Iā€™m notified there is not possible to do this operation for the moment.
go to WebPOS and login

go to sales ticket history

try to :

Open a ticket

cancel a ticket

Cancel and replace a ticket

generate a proof of payment for a ticket

ā†’ KO the error is displayed

try to do a verified return :

ā€“ > KO this message appears :

YYour request can't be completed right now
No tags attached.
Issue History
2022-05-09 15:55timothee_catteeuwNew Issue
2022-05-09 15:55timothee_catteeuwAssigned To => Retail
2022-05-09 15:55timothee_catteeuwTriggers an Emergency Pack => No
2022-05-10 11:57FelixakaNote Added: 0137113
2022-05-13 21:12sntgrealeAssigned ToRetail => sntgreale
2022-05-13 21:12sntgrealeStatusnew => scheduled
2022-05-16 14:43jmelinNote Added: 0137328
2022-05-17 12:59javierRodriguezAssigned Tosntgreale => javierRodriguez
2022-05-17 15:05guilleaerNote Added: 0137389
2022-05-17 15:05guilleaerStatusscheduled => resolved
2022-05-17 15:05guilleaerResolutionopen => fixed
2022-05-17 15:05guilleaerReview Assigned To => guilleaer
2022-05-17 15:05guilleaerStatusresolved => closed

Notes
(0137113)
Felixaka   
2022-05-10 11:57   
I add a note that could be related to the pb.

-On the physical tills, when we print a ticket and we want to find him again by scan the barcode

we have the error message : The code '010000041/0000074' cannot be found
(0137328)
jmelin   
2022-05-16 14:43   
The issue is related to meal allocation.
In "PaidReceiptsProperties.java", we add to retrieve data from "ord.flintrmEmployee" which add a joint with flintrm_employee
That prevent the order to be loaded if no meal allocation is used in the order
(0137389)
guilleaer   
2022-05-17 15:05   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.allocation/-/merge_requests/6 [^]