Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055882
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2024-07-01 15:022024-07-15 10:02
ReporterlmonrealView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055882: Scaled Price discount generaring undefined (reading 'id')

DescriptionIf 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 Reproduce1. 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 SolutionIt does not matter if the product is in the price list of the store, the error should not be triggered.
TagsNo tags attached.
Attached Filespng file icon ISSUE SCALED PRICE.png [^] (227,166 bytes) 2024-07-01 15:02

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0166958)
hgbot (developer)
2024-07-15 10:02

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2797 [^]

- Issue History
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker