Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0034628 | Openbravo ERP | 02. Master data management | public | 2016-11-25 09:04 | 2018-02-22 18:18 | ||||||||||||||
Reporter | alostale | ||||||||||||||||||
Assigned To | collazoandy4 | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | random | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR18Q2 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | dmiguelez | ||||||||||||||||||
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 | 0034628: Manage variants can return unexpected values | ||||||||||||||||||
Description | When filtering concurrently in Manage Variants P&E, it is possible to obtain incorrect values. This is caused because ManageVariantsDS is not thread safe: it is used as singleton but it has state variables that can be messed up by different threads. | ||||||||||||||||||
Steps To Reproduce | It is quite random and hard to reproduce in real instance so apply attached diff to emulate slower processing. 1. Create a generic product (p) with some variants and execute the "Create Variants" process 2. Open 2 sessions (a and b) and select in both of them that product -> note the products that appear there are p1, p2, p3... 3. In session a filter by search key 1 4. Immediately (less than 2 secs) filter in session b by search key 2 --> ERROR: note that the response for session a, includes p2 but not p1 as it should be | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | multiThread | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | Selection_229.png (32,581) 2017-11-10 10:08 https://issues.openbravo.com/file_download.php?file_id=11278&type=bug slow-variants-ds.diff (721) 2017-11-10 10:08 https://issues.openbravo.com/file_download.php?file_id=11279&type=bug slow-variant-fixed.diff (794) 2017-11-11 01:55 https://issues.openbravo.com/file_download.php?file_id=11281&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2016-11-25 09:04 | alostale | New Issue | |||||||||||||||||
2016-11-25 09:04 | alostale | Assigned To | => Triage Finance | ||||||||||||||||
2016-11-25 09:04 | alostale | Modules | => Core | ||||||||||||||||
2016-11-25 09:04 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||
2016-11-25 09:04 | alostale | Tag Attached: multiThread | |||||||||||||||||
2016-11-25 09:05 | alostale | Issue Monitored: alostale | |||||||||||||||||
2016-11-25 09:05 | alostale | Relationship added | related to 0034405 | ||||||||||||||||
2016-12-01 11:56 | alostale | Relationship added | blocks 0034664 | ||||||||||||||||
2017-11-08 16:55 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 | ||||||||||||||||
2017-11-08 16:55 | collazoandy4 | Status | new => scheduled | ||||||||||||||||
2017-11-10 10:08 | alostale | File Added: Selection_229.png | |||||||||||||||||
2017-11-10 10:08 | alostale | File Added: slow-variants-ds.diff | |||||||||||||||||
2017-11-11 01:55 | collazoandy4 | File Added: slow-variant-fixed.diff | |||||||||||||||||
2017-11-11 01:55 | collazoandy4 | Note Added: 0100457 | |||||||||||||||||
2018-01-08 09:36 | hgbot | Checkin | |||||||||||||||||
2018-01-08 09:36 | hgbot | Note Added: 0101607 | |||||||||||||||||
2018-01-08 09:36 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2018-01-08 09:36 | hgbot | Resolution | open => fixed | ||||||||||||||||
2018-01-08 09:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/da1ddbd843879beb28c8751006ebd728f9cc3de9 [^] | ||||||||||||||||
2018-01-08 09:36 | hgbot | Checkin | |||||||||||||||||
2018-01-08 09:36 | hgbot | Note Added: 0101608 | |||||||||||||||||
2018-01-08 09:38 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||
2018-01-08 09:38 | dmiguelez | Note Added: 0101611 | |||||||||||||||||
2018-01-08 09:38 | dmiguelez | Status | resolved => closed | ||||||||||||||||
2018-01-08 09:38 | dmiguelez | Fixed in Version | => 3.0PR18Q2 | ||||||||||||||||
2018-02-22 18:18 | hudsonbot | Checkin | |||||||||||||||||
2018-02-22 18:18 | hudsonbot | Note Added: 0102644 | |||||||||||||||||
2018-02-22 18:18 | hudsonbot | Checkin | |||||||||||||||||
2018-02-22 18:18 | hudsonbot | Note Added: 0102645 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|