Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038242Retail ModulesLoyalty Management for Retailpublic2018-03-28 11:222018-03-28 11:22
martinsdan 
Retail 
normalminoralways
newopen 
30Openbravo Appliance 14.04
 
 
No
0038242: Loyalty is showing log warnings related to access
There are some errors related to security access in this module.

The reason for this is because those classes don't reimplement the method getFormId().

1ae2faae 2018-03-28 07:36:59,000 [ajp-bio-127.0.0.1-8009-exec-10] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.retail.loyalty.master.LoyaltyManagement
1ae2faae 2018-03-28 07:36:59,082 [ajp-bio-127.0.0.1-8009-exec-10] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.retail.loyalty.master.LoyaltyProgram
1ae2faae 2018-03-28 07:36:59,176 [ajp-bio-127.0.0.1-8009-exec-10] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.retail.loyalty.master.AccumulationRules
1ae2faae 2018-03-28 07:36:59,262 [ajp-bio-127.0.0.1-8009-exec-10] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.retail.loyalty.master.RedemptionRules
1ae2faae 2018-03-28 07:36:59,596 [ajp-bio-127.0.0.1-8009-exec-10] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Not checking form access for class org.openbravo.retail.loyalty.implementation.master.LoyaltyBusinessPartnerCard
Login to the POS and the warnings will be visible in the log.
Change those classes to extend org.openbravo.retail.posterminal.ProcessHQLQuery instead of org.openbravo.mobile.core.process.ProcessHQLQuery.

This way the access control will be done based on the POS Form.
No tags attached.
Issue History
2018-03-28 11:22martinsdanNew Issue
2018-03-28 11:22martinsdanAssigned To => Retail
2018-03-28 11:22martinsdanTriggers an Emergency Pack => No

There are no notes attached to this issue.