Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055882 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | always | 2024-07-01 15:02 | 2024-08-11 17:55 | |||
Reporter | lmonreal | View Status | public | |||||
Assigned To | SABARINATH P | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 24Q4 | |||
Status | closed | 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 | 0055882: Scaled Price discount generaring undefined (reading 'id') | |||||||
Description | If there is a scaled price discount configured with some products, and these products are not in the price list of the store POS triggers error: Cannot read properties of undefined (reading 'id') Is not possible to do anything unless cache is cleared. See video from livebuilds: https://drive.google.com/file/d/1REmDl6y_xAb2oXbPSdkUlnLVzxx4qjk5/view?usp=sharing [^] | |||||||
Steps To Reproduce | 1. Configure a scaled price for a product-> See all configuration in the video https://drive.google.com/file/d/1REmDl6y_xAb2oXbPSdkUlnLVzxx4qjk5/view?usp=sharing [^] 2.Do a sale with this discount 3.Remove this product from the Price list of the store that you are going to test. Refresh data 4. Open POS and load an order that contains the discount 5. See POS shows error message and is not possible to exit unless cache is cleared See video from livebuilds: https://drive.google.com/file/d/1REmDl6y_xAb2oXbPSdkUlnLVzxx4qjk5/view?usp=sharing [^] | |||||||
Proposed Solution | It does not matter if the product is in the price list of the store, the error should not be triggered. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0166958) hgbot (developer) 2024-07-15 10:02 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2797 [^] |
(0167939) hgbot (developer) 2024-08-11 17:54 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2797 [^] |
(0167940) hgbot (developer) 2024-08-11 17:54 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 69851d81915311ce2e343c6803aade35d542479d Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com> Date: 11-08-2024 15:54:35 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/69851d81915311ce2e343c6803aade35d542479d [^] Fixed ISSUE-55882: Validate products only if its included in Price list. --- M web-jspack/org.openbravo.pos2/src/core/discount/discountsVisibility/__test__/discountsVisibilityChecks.test.js M web-jspack/org.openbravo.pos2/src/core/discount/discountsVisibility/discountsVisibilityChecks.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2024-07-01 15:02 | lmonreal | New Issue | |
2024-07-01 15:02 | lmonreal | Assigned To | => Retail |
2024-07-01 15:02 | lmonreal | File Added: ISSUE SCALED PRICE.png | |
2024-07-01 15:02 | lmonreal | Triggers an Emergency Pack | => No |
2024-07-01 15:05 | lmonreal | Steps to Reproduce Updated | View Revisions |
2024-07-01 15:05 | lmonreal | Issue Monitored: martinsdan | |
2024-07-04 09:08 | guilleaer | Status | new => acknowledged |
2024-07-08 08:31 | SABARINATH P | Assigned To | Retail => SABARINATH P |
2024-07-08 08:31 | SABARINATH P | Status | acknowledged => scheduled |
2024-07-15 10:02 | hgbot | Note Added: 0166958 | |
2024-08-11 17:54 | hgbot | Resolution | open => fixed |
2024-08-11 17:54 | hgbot | Status | scheduled => resolved |
2024-08-11 17:54 | hgbot | Note Added: 0167939 | |
2024-08-11 17:54 | hgbot | Fixed in Version | => 24Q4 |
2024-08-11 17:54 | hgbot | Note Added: 0167940 | |
2024-08-11 17:55 | javierRodriguez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |