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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055168
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajorhave not tried2024-04-11 12:042024-04-16 15:38
ReporteraferrazView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionopenFixed 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 releasemain
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/c4794102728f708c7dd22656d571c8f151a0db26 [^]
Triggers an Emergency PackNo
Summary

0055168: Wrong call to OB.App.State.UI.Utils.showProductSearchKey from discount engine

DescriptionDiscount engine is a pure function that should work from EnyoPOS, ReactPOS and WebService.
It can not use APIs that are not included in the discount engine.
Steps To Reproduce*
Proposed SolutionThe way to fix this would be as follows:
1.-A new utils function should be implemented in org.openbravo.retail.discounts. This new function should be returning the productIdentifier
2.-In POS2 module, the utils function defined in org.openbravo.retail.discounts should be overwritten to return the line that is causing the error

The reason behind this approach is that the new property to activate/deactivate the functionality exists only in POS2 and thus should only be available in an environment where POS2 exists.

For any doubt please contact JWE
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0054484 closedinaki_luque Web POS display Product Search key 

-  Notes
(0163246)
hgbot (developer)
2024-04-16 08:44

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/142 [^]
(0163292)
hgbot (developer)
2024-04-16 15:38

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

- Issue History
Date Modified Username Field Change
2024-04-11 12:04 aferraz New Issue
2024-04-11 12:04 aferraz Assigned To => Retail
2024-04-11 12:04 aferraz Triggers an Emergency Pack => No
2024-04-11 12:35 aferraz Relationship added caused by 0054484
2024-04-11 12:37 aferraz Regression introduced in release => main
2024-04-11 12:37 aferraz Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/c4794102728f708c7dd22656d571c8f151a0db26 [^]
2024-04-11 12:42 jorgewederago Proposed Solution updated
2024-04-11 12:42 jorgewederago Status new => acknowledged
2024-04-12 07:43 SABARINATH P Assigned To Retail => SABARINATH P
2024-04-12 07:43 SABARINATH P Status acknowledged => scheduled
2024-04-16 08:44 hgbot Note Added: 0163246
2024-04-16 15:38 hgbot Note Added: 0163292


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker