Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0053490 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | major | always | 2023-09-19 12:57 | 2023-09-25 07:38 | |||||||
Reporter | guillermogil | View Status | public | |||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | 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 | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053490: User defined percentage raises an error when applied | |||||||||||
Description | User defined percentage raises an error when applied. When applying it raises the following error message: POS2.js:108 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'scale') at e.toBigDecimal (POS2.js:108:13) at e.div (POS2.js:128:19) at POS2.js:43282:23 at Array.forEach (<anonymous>) at e.executeDiscountCalculation (POS2.js:43279:24) at e.calculateDiscounts (POS2.js:39390:12) at POS2.js:38741:11 at Array.forEach (<anonymous>) at OB.Discounts.applyDiscounts (POS2.js:38735:19) at OB.Discounts.Pos.applyDiscounts (POS2.js:37927:36) | |||||||||||
Steps To Reproduce | - Create a User Defined Percentage discount in the backoffice - Login on POS - Add a product - Select the line - Go to Discounts - Click on your newly created discount Error is raised | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ![]() | |||||||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2023-09-19 12:57 | guillermogil | New Issue | |
2023-09-19 12:57 | guillermogil | Assigned To | => Retail |
2023-09-19 12:57 | guillermogil | File Added: Screenshot from 2023-09-19 12-53-54.png | |
2023-09-19 12:57 | guillermogil | Triggers an Emergency Pack | => No |
2023-09-19 12:59 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2023-09-25 07:38 | ranjith_qualiantech_com | Status | new => scheduled |
Copyright © 2000 - 2009 MantisBT Group |