View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024821||mantisbt||bugtracker||public||2018-10-03 09:57||2019-02-12 18:21|
|Target Version||Fixed in Version|
|Summary||0024821: Wrong caching in version API|
While searching solutions for 0017145 I was reviewing the version_api.php -> version_get_all_rows() function and found a potential issue:
The function can be invoked with filters for $p_released and $p_obsolete as well as an additional query $p_inherit. At the first run everything works fine because data are retrieved via a database query. This result is going to be cached.
Subsequent calls don't re-query the database but will re-use the former result. As this is potentially pre-filtered, the cached result-list will potentially contain not all results and therefore return wrong lists.
I could refactor that, please tell me if you are interested in...
|Tags||No tags attached.|
|2018-10-03 09:57||jweberhofer||New Issue|
|2018-10-04 03:51||dregad||Relationship added||related to 0017145|
|2018-10-04 03:53||dregad||Status||new => acknowledged|
|2018-10-04 03:53||dregad||Note Added: 0060734|
|2019-02-12 18:02||cproensa||Assigned To||=> cproensa|
|2019-02-12 18:02||cproensa||Status||acknowledged => assigned|
|2019-02-12 18:21||cproensa||Relationship added||related to 0022100|