Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033530 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | have not tried | 2016-07-22 14:22 | 2016-09-26 09:27 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | ad8dc963563f | ||||
Projection | none | ETA | none | Target Version | RR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033530: Store server transitioning check does not use admin mode | |||||||
Description | When a user tries to run multi-server we see a low level error in the log: org.openbravo.base.exception.OBSecurityException: Entity OBMOBC_SERVER_DEFINITION is not readable by the user B8D524AE26F245A0B8FA4407CCB78ED7 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:448) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:601) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:588) at org.openbravo.dal.service.OBDal.get(OBDal.java:297) at org.openbravo.mobile.core.servercontroller.MobileServerController.getThisServerDefinition(MobileServerController.java:311) at org.openbravo.mobile.core.servercontroller.MobileServerController.serverHasTransitioningStatus(MobileServerController.java:283) at org.openbravo.mobile.core.process.JSONProcessSimple.exec(JSONProcessSimple.java:52) at org.openbravo.mobile.core.process.SecuredJSONProcess.secureExec(SecuredJSONProcess.java:53) at org.openbravo.mobile.core.process.MobileServiceProcessor.execProcess(MobileServiceProcessor.java:117) at org.openbravo.mobile.core.process.MobileServiceProcessor.execServiceName(MobileServiceProcessor.java:79) at org.openbravo.mobile.core.process.MobileService.doGetOrPost(MobileService.java:89) at org.openbravo.mobile.core.process.MobileService.doPost(MobileService.java:59) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:431) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.mobile.core.process.WebServiceAuthenticatedServlet.service(WebServiceAuthenticatedServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) | |||||||
Steps To Reproduce | See above. | |||||||
Proposed Solution | Set admin mode in MobileServerController around the logic to read the server definition. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0088645) hgbot (developer) 2016-07-23 01:26 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: ad8dc963563fbf8cd77cab09e832fd61b0019be3 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Sat Jul 23 01:25:13 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad8dc963563fbf8cd77cab09e832fd61b0019be3 [^] Fixes issue 33530: Store server transitioning check does not use admin mode Use admin mode when reading mobile server instance --- M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java --- |
(0088679) hgbot (developer) 2016-07-27 11:26 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: cf7afcb6c58a8e1e1844ff2df47a06ba9cb4ed12 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Tue Jul 26 23:43:06 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cf7afcb6c58a8e1e1844ff2df47a06ba9cb4ed12 [^] Related to issue 33530: Store server transitioning check does not use admin mode Pass parameter to admin mode --- M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java --- |
(0088770) AugustoMauch (administrator) 2016-08-03 10:17 |
Code reviewed and verified in [1]@cf7afcb6c58a [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core [^] |
(0090240) mtaal (viewer) 2016-09-26 09:26 |
Reopen to schedule backport |
(0090241) mtaal (viewer) 2016-09-26 09:27 |
Reclosed |
![]() |
|||
Date Modified | Username | Field | Change |
2016-07-22 14:22 | mtaal | New Issue | |
2016-07-22 14:22 | mtaal | Assigned To | => mtaal |
2016-07-22 14:22 | mtaal | OBNetwork customer | => No |
2016-07-22 14:22 | mtaal | Triggers an Emergency Pack | => No |
2016-07-23 01:26 | hgbot | Checkin | |
2016-07-23 01:26 | hgbot | Note Added: 0088645 | |
2016-07-23 01:26 | hgbot | Status | new => resolved |
2016-07-23 01:26 | hgbot | Resolution | open => fixed |
2016-07-23 01:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ad8dc963563fbf8cd77cab09e832fd61b0019be3 [^] |
2016-07-24 16:18 | mtaal | Review Assigned To | => AugustoMauch |
2016-07-27 11:26 | hgbot | Checkin | |
2016-07-27 11:26 | hgbot | Note Added: 0088679 | |
2016-08-03 10:17 | AugustoMauch | Note Added: 0088770 | |
2016-08-03 10:17 | AugustoMauch | Status | resolved => closed |
2016-09-26 09:26 | mtaal | Note Added: 0090240 | |
2016-09-26 09:26 | mtaal | Status | closed => new |
2016-09-26 09:26 | mtaal | Resolution | fixed => open |
2016-09-26 09:26 | mtaal | Status | new => scheduled |
2016-09-26 09:26 | mtaal | Status | scheduled => resolved |
2016-09-26 09:26 | mtaal | Resolution | open => fixed |
2016-09-26 09:27 | mtaal | Note Added: 0090241 | |
2016-09-26 09:27 | mtaal | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |