Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020788 | Openbravo ERP | A. Platform | public | 2012-06-16 15:59 | 2012-06-29 12:43 |
Reporter | shuehner | ||||
Assigned To | alostale | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 3.0MP7.1 | ||||
Target Version | Fixed in Version | 3.0MP13 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0020788: Calls to dal-based webservices fail if the license contains an expired module and the auth is done in the ws-call | ||||
Description | When doing a call to i.e. /ws/dal without having an active session, but passing user+password parameters in the request itself and having that instance activated with a license which contains at least one module which is expired (it does not matter if that module is really installed or not). Then the ws-call fails with the following error: org.openbravo.base.exception.OBException: Exception thrown Exception thrown null org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:63) org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) root cause org.openbravo.base.exception.OBException: Exception thrown null org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:63) org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) root cause java.lang.NullPointerException org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:569) org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:560) org.openbravo.dal.service.OBDal.get(OBDal.java:274) org.openbravo.erpCommon.obps.ActivationKey.getExpiredInstalledModules(ActivationKey.java:1159) org.openbravo.erpCommon.obps.ActivationKey.checkOPSLimitations(ActivationKey.java:864) org.openbravo.erpCommon.obps.ActivationKey.refreshIfNeeded(ActivationKey.java:1303) org.openbravo.erpCommon.obps.ActivationKey.getInstance(ActivationKey.java:247) org.openbravo.authentication.AuthenticationManager.webServicePostAuthenticate(AuthenticationManager.java:213) org.openbravo.authentication.AuthenticationManager.webServiceAuthenticate(AuthenticationManager.java:181) org.openbravo.service.web.BaseWebServiceServlet.service(BaseWebServiceServlet.java:69) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:41) org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) | ||||
Steps To Reproduce | Activate an instance with a license having at least one module in the license which is expired (to-date < today) Make sure no active login from the current browser exists Do a call to the following url: http://localhost:8080/openbravo/ws/dal?l=Openbravo&p=openbravo [^] Notice it fails | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5302&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-16 15:59 | shuehner | New Issue | |||
2012-06-16 15:59 | shuehner | Assigned To | => alostale | ||
2012-06-16 15:59 | shuehner | Modules | => Core | ||
2012-06-16 15:59 | shuehner | OBNetwork customer | => Yes | ||
2012-06-16 16:00 | shuehner | Note Added: 0049874 | |||
2012-06-16 16:01 | shuehner | Note Added: 0049875 | |||
2012-06-16 16:02 | shuehner | File Added: issue_20788_mp7.1.diff | |||
2012-06-16 16:02 | shuehner | Note Added: 0049876 | |||
2012-06-18 12:09 | alostale | Note Added: 0049888 | |||
2012-06-19 11:38 | alostale | Note Added: 0049912 | |||
2012-06-19 11:43 | hgbot | Checkin | |||
2012-06-19 11:43 | hgbot | Note Added: 0049913 | |||
2012-06-19 11:43 | hgbot | Status | new => resolved | ||
2012-06-19 11:43 | hgbot | Resolution | open => fixed | ||
2012-06-19 11:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/61be8cba1e0458d4ec90840af1d96fb0cb6dbdb7 [^] | ||
2012-06-27 05:28 | hudsonbot | Checkin | |||
2012-06-27 05:28 | hudsonbot | Note Added: 0050122 | |||
2012-06-29 12:43 | AugustoMauch | Note Added: 0050282 | |||
2012-06-29 12:43 | AugustoMauch | Status | resolved => closed | ||
2012-06-29 12:43 | AugustoMauch | Fixed in Version | => 3.0MP13 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|