Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0046189 | Openbravo ERP | A. Platform | public | 2021-03-31 08:46 | 2021-03-31 16:01 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0046189: WS calls UserLock for every request even within the same session |
Description | UserLock feature is checked for all webservice calls even they are done within the context of a valid session.
This mechanism only makes sense while authenticating, but not once the session is created and it's valid. |
Steps To Reproduce | 0. Enable debugging log level for org.openbravo.base.secureApp.UserLock
1. Perform a WS request
-> OK: checking logs UserLock is invoked
2. Keeping the same session in the client, perform another WS request
-> ERROR: checking logs UserLock is invoked
Here you can find a client to test it:
https://gitlab.com/alo-issues/openbravo/-/snippets/2098452 [^] |
Proposed Solution | |
Additional Information | |
Tags | NOR, Performance |
Relationships | related to | defect | 0044414 | | new | Triage Platform Base | UserLock feature (delay login on wrong login) has bad performance by default | related to | defect | 0055823 | | new | Triage Platform Base | User locking check should not be done in WS requests for WS-only users |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-03-31 08:46 | alostale | New Issue | |
2021-03-31 08:46 | alostale | Assigned To | => platform |
2021-03-31 08:46 | alostale | Modules | => Core |
2021-03-31 08:46 | alostale | Triggers an Emergency Pack | => No |
2021-03-31 08:52 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=22284#r22284 |
2021-03-31 08:52 | alostale | Relationship added | related to 0044414 |
2021-03-31 09:05 | hgbot | Note Added: 0127064 | |
2021-03-31 12:35 | rafaroda | Tag Attached: NOR | |
2021-03-31 12:42 | alostale | Assigned To | platform => alostale |
2021-03-31 12:43 | alostale | Tag Attached: Performance | |
2021-03-31 16:01 | hgbot | Resolution | open => fixed |
2021-03-31 16:01 | hgbot | Status | new => closed |
2021-03-31 16:01 | hgbot | Note Added: 0127074 | |
2021-03-31 16:01 | hgbot | Fixed in Version | => PR21Q2 |
2021-03-31 16:01 | hgbot | Note Added: 0127075 | |
2024-06-24 11:49 | caristu | Relationship added | related to 0055823 |