Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034764 | Retail Modules | StoreServer | public | 2016-12-17 18:37 | 2016-12-28 09:54 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR17Q1 | Fixed in Version | RR17Q1 | ||
Merge Request Status | |||||
Review Assigned To | Sandrahuguet | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0034764: StoreServer support hasPermission also for stateless mobile services | ||||
Description | When a mobile service has the annotation @AuthenticationManager.Stateless then the mobile service needs to override the hasPermission method as this method creates a session. If the method is not overridden then a warning is logged [1]. A better solution is to prevent the http session creation in the method [2]. [1] 1867120 [http-bio-9080-exec-3] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Allowing permission by default for a stateless request, override the hasPermission method to prevent this warning 1927118 [http-bio-9080-exec-4] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Allowing permission by default for a stateless request, override the hasPermission method to prevent this warning 1987107 [http-bio-9080-exec-8] WARN org.openbravo.mobile.core.process.SecuredJSONProcess - Allowing permission by default for a stateless request, override the hasPermission method to prevent this warning [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/b08a151d8926/src/org/openbravo/mobile/core/process/SecuredJSONProcess.java#l102 [^] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/b08a151d8926/src/org/openbravo/mobile/core/process/SecuredJSONProcess.java#l111 [^] | ||||
Steps To Reproduce | Run multi-server with the server state background process every minute Then the above log message is created every few minutes. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-12-17 18:37 | mtaal | New Issue | |||
2016-12-17 18:37 | mtaal | Assigned To | => mtaal | ||
2016-12-17 18:37 | mtaal | OBNetwork customer | => No | ||
2016-12-17 18:37 | mtaal | Triggers an Emergency Pack | => No | ||
2016-12-17 23:33 | hgbot | Checkin | |||
2016-12-17 23:33 | hgbot | Note Added: 0092732 | |||
2016-12-18 09:33 | hgbot | Checkin | |||
2016-12-18 09:33 | hgbot | Note Added: 0092733 | |||
2016-12-18 21:58 | hgbot | Checkin | |||
2016-12-18 21:58 | hgbot | Note Added: 0092736 | |||
2016-12-18 21:58 | hgbot | Status | new => resolved | ||
2016-12-18 21:58 | hgbot | Resolution | open => fixed | ||
2016-12-18 21:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af1f73ae2a771fb319d84dc145ea71d10330cebb [^] | ||
2016-12-23 13:22 | mtaal | Review Assigned To | => Sandrahuguet | ||
2016-12-28 09:54 | Sandrahuguet | Note Added: 0093035 | |||
2016-12-28 09:54 | Sandrahuguet | Status | resolved => closed | ||
2016-12-28 09:54 | Sandrahuguet | Fixed in Version | => RR17Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|