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

View Revisions: Issue #27200 All Revisions ] Back to Issue ]
Summary 0027200: Stabilization: Current user/role has no access to class org.openbravo.retail.posterminal.term.Terminal
Revision 2014-08-14 15:26 by Orekaria
Steps To Reproduce Load the Login page
Reload (keep reloading until the error is shown)
Revision 2014-08-14 15:25 by Orekaria
Steps To Reproduce This exception fires because the WebPOS is trying to load the Posterminal environment before the login has successfully finished

partial console trace

// good flow
event fired: initializedCommonComponents
event fired: viewRendered

// exception flow
event fired: initializedCommonComponents
loading... cashMgmtDepositEvents
loading... cashMgmtDropEvents
event fired: terminalInfoLoaded
(4) serviceGET org.openbravo.retail.posterminal.term.Terminal
(6) serviceGET org.openbravo.retail.posterminal.term.Payments
(7) serviceGET org.openbravo.retail.posterminal.term.CashMgmtDepositEvents
(8) serviceGET org.openbravo.retail.posterminal.term.CashMgmtDropEvents
(9) serviceGET org.openbravo.retail.posterminal.term.BusinessPartner
(10) serviceGET org.openbravo.retail.posterminal.term.Location
(11) serviceGET org.openbravo.retail.posterminal.term.PriceList
(12) serviceGET org.openbravo.retail.posterminal.term.Warehouses
(13) serviceGET org.openbravo.retail.posterminal.term.PriceListVersion
(14) serviceGET org.openbravo.retail.posterminal.term.Currency
XHR finished loading: GET "http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…il.posterminal.term.CashMgmtDepositEvents/%7B%22appName%22:%22WebPOS%22%7D". xhr.js:44
["cashMgmtDepositEvents"] "is/are loaded"
XHR finished loading: GET "http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…etail.posterminal.term.CashMgmtDropEvents/%7B%22appName%22:%22WebPOS%22%7D". xhr.js:44
["cashMgmtDropEvents"] "is/are loaded"
Revision 2014-08-14 13:14 by Orekaria
Steps To Reproduce Change this lines in SecuredJSONProcess.java
   OBQuery<FormAccess> qForm = OBDal.getInstance().createQuery(FormAccess.class, where);
   qForm.setNamedParameter("formId", formId);
   qForm.setNamedParameter("roleId", roleId);

   return false; // provoke the error

   if (qForm.count() == 0) {
      return false;
   }
Revision 2014-08-14 11:44 by Orekaria
Steps To Reproduce NA


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker