Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056504 | POS2 | POS | public | 2024-09-19 13:22 | 2024-11-14 11:15 |
|
Reporter | fermin_ostivar | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | pi | Fixed in Version | | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0056504: Session expired never is closed |
Description | There are expired sessions that never are closed even when the session limit is near to be reached and the cleaning mechanism run.
|
Steps To Reproduce | 1) Login in AWO with the following url:
https://livebuilds.openbravo.com/context/retail_translations_pgsql/web/org.openbravo.warehouse.advancedwarehouseoperations [^]
2) In the same tab type and go to the url:
https://livebuilds.openbravo.com/context/retail_translations_pgsql/security/Login [^] (the main part to reproduce the scenario is to add security/Login to the url)
If the system is near to reach the session limit the method to close the expired sessions run but not closed the previous one, throwing the error "not found in context"
The issue happens in a single instance environment |
Proposed Solution | To close the session that have expired in all cases |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-09-19 13:22 | fermin_ostivar | New Issue | |
2024-09-19 13:22 | fermin_ostivar | Assigned To | => Retail |
2024-09-19 13:22 | fermin_ostivar | OBNetwork customer | => No |
2024-09-19 13:22 | fermin_ostivar | Triggers an Emergency Pack | => No |
2024-09-20 07:20 | guillermogil | Assigned To | Retail => Triage Platform Base |
2024-10-21 09:01 | AugustoMauch | Assigned To | Triage Platform Base => cberner |
2024-10-25 18:16 | axelmercado | Issue Monitored: axelmercado | |
2024-10-28 11:38 | hgbot | Merge Request Status | => open |
2024-10-28 11:38 | hgbot | Note Added: 0171031 | |
2024-10-28 12:04 | AugustoMauch | Status | new => scheduled |
2024-10-28 15:51 | Practics | Issue Monitored: Practics | |
2024-10-29 12:46 | hgbot | Merge Request Status | open => approved |
2024-11-04 12:12 | hgbot | Resolution | open => fixed |
2024-11-04 12:12 | hgbot | Status | scheduled => closed |
2024-11-04 12:12 | hgbot | Fixed in Version | => PR25Q1 |
2024-11-04 12:12 | hgbot | Note Added: 0171284 | |
2024-11-04 12:12 | hgbot | Note Added: 0171285 | |
2024-11-05 12:08 | hgbot | Note Added: 0171406 | |
2024-11-05 12:09 | cberner | Note Added: 0171407 | |
2024-11-05 12:09 | cberner | Status | closed => new |
2024-11-05 12:09 | cberner | Resolution | fixed => open |
2024-11-05 12:09 | cberner | Fixed in Version | PR25Q1 => |
2024-11-11 09:29 | hgbot | Note Added: 0171743 | |
2024-11-14 11:15 | hgbot | Resolution | open => fixed |
2024-11-14 11:15 | hgbot | Status | new => closed |
2024-11-14 11:15 | hgbot | Fixed in Version | => PR25Q1 |
2024-11-14 11:15 | hgbot | Note Added: 0171972 | |
2024-11-14 11:15 | hgbot | Note Added: 0171973 | |
Notes |
|
(0171031)
|
hgbot
|
2024-10-28 11:38
|
|
|
|
(0171284)
|
hgbot
|
2024-11-04 12:12
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: b001fba0f9bd8c8d62ffffea125187b3d42015ec
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 04-11-2024 09:59:11
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b001fba0f9bd8c8d62ffffea125187b3d42015ec [^]
Fixes ISSUE-56504: Expired session is never closed
When using AWO and then logging in into openbravo on the same
domain/url, the AWO session was left as inactive but still part of the
context list, however the context list was not actually being checked
for session destroyal. Now sessions are destroyed if the session is
present in the context but are no longer active, because that means
they're created on the same cluster node, and not on another node.
---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
M src/org/openbravo/erpCommon/security/SessionListener.java
---
|
|
|
(0171285)
|
hgbot
|
2024-11-04 12:12
|
|
|
|
(0171406)
|
hgbot
|
2024-11-05 12:08
|
|
|
|
|
Reopened due to it being reverted. |
|
|
(0171743)
|
hgbot
|
2024-11-11 09:29
|
|
|
|
(0171972)
|
hgbot
|
2024-11-14 11:15
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 48cce2a03b12f6d81f2a2aa534b492994812ea19
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 14-11-2024 10:05:18
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/48cce2a03b12f6d81f2a2aa534b492994812ea19 [^]
Fixes ISSUE-56504: Expired session is never closed
When using AWO and then logging in into openbravo on the same
domain/url, the AWO session was left as inactive but still part of the
context list, however the context list was not actually being checked
for session destroyal. Now sessions are destroyed if the session is
present in the context but are no longer active, because that means
they're created on the same cluster node, and not on another node.
---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
M src/org/openbravo/erpCommon/security/SessionListener.java
---
|
|
|
(0171973)
|
hgbot
|
2024-11-14 11:15
|
|
|