Openbravo Issue Tracking System - POS2
View Issue Details
0049523POS2Restaurantspublic2022-06-09 14:302022-06-17 09:30
mmohammad 
ablasco 
normalcriticalhave not tried
closedfixed 
5
 
 
AugustoMauch
No
0049523: FLUN-3065 Menu - when u make a long tip on product its create an error "Big decimal"
On FS test, it’s impossible to add product on a menu by a long click, it runs error :

with an extra price : error is big decimal()

BigDecimal(): Not a number: +,0,.,7,0, ,€; line: s (https://agapes-fs-u18-test.cloud.openbravo.com/openbravo/web/pos/static/js/main.4126a984.chunk.js:1:15964 [^]) (*)

POS2.js:3702

OB.Console.error = function(consoleMessage) {
if (typeof consoleMessage === 'string') {
console.error(consoleMessage); // eslint-disable-line no-console
} else {
console.error.apply(console, consoleMessage); // eslint-disable-line no-console
}
};


Another issue with a product without extra price : cannot read properties of null

POS2.js:3702 Cannot read properties of null (reading 'scale'); line: s (https://agapes-fs-u18-test.cloud.openbravo.com/openbravo/web/pos/static/js/main.4126a984.chunk.js:1:15964 [^]) (*)

 
Not reproducible on livebuilds
Go to pos2 and select a menu

- Choose a product with and extra cost by a long click . The product popover appears .
- Click on the button “Add to receipt” ==> it raised an error


To reproduce with product without extra cost , do the same steps but choose a product without extra cost.

Not reproducible on livebuilds
No tags attached.
jpg longclickproductonmenu.jpg (201,180) 2022-06-09 14:30
https://issues.openbravo.com/file_download.php?file_id=17142&type=bug
jpg
Issue History
2022-06-09 14:30mmohammadNew Issue
2022-06-09 14:30mmohammadAssigned To => Retail
2022-06-09 14:30mmohammadFile Added: longclickproductonmenu.jpg
2022-06-09 14:30mmohammadTriggers an Emergency Pack => No
2022-06-14 12:27AugustoMauchAssigned ToRetail => ablasco
2022-06-14 12:27AugustoMauchStatusnew => scheduled
2022-06-17 09:30guilleaerNote Added: 0138478
2022-06-17 09:30guilleaerStatusscheduled => resolved
2022-06-17 09:30guilleaerResolutionopen => fixed
2022-06-17 09:30guilleaerReview Assigned To => AugustoMauch
2022-06-17 09:30guilleaerStatusresolved => closed

Notes
(0138478)
guilleaer   
2022-06-17 09:30   
Merged

https://gitlab.com/obcustomers/AGAP/org.openbravo.stockserver/-/merge_requests/22 [^]