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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040946
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-05-24 11:512019-06-25 14:52
ReporteraaroncaleroView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix 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

0040946: [Loyalty] Several api functions should implement error callbacks

DescriptionThere are several api functions in the javascript code of the Loyalty Programs for Web POS module that should implement error callbacks.
OBRLP.findActiveSubscriptions and OBRLP.computeLoyaltySummary both use internally OBRLP.findSubscriptions, which is a query to retrieve Loyalty Subscription information. Since this query can be done server side (when the Remote For Customers preference is enabled), the code should be able to manage the case in which the server doesn't respond correctly.
Steps To ReproduceCheck the code for OBRLP.findSubscriptions here:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.loyalty.programs/file/tip/web/org.openbravo.retail.loyalty.programs/js/component/subscription-icon.js#l39 [^]
Proposed SolutionAdd an errroCallback parameter to OBRLP.findSubscriptions, and also to the functions invoking it.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-05-24 11:51 aaroncalero New Issue
2019-05-24 11:51 aaroncalero Assigned To => Retail
2019-05-24 11:51 aaroncalero Triggers an Emergency Pack => No
2019-06-25 14:52 aaroncalero Type design defect => defect


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker