? Failure

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
8 Apr 2017

Summary of Changes

The pull fix static caching in FinderIndexerHelper::addContentType, wich used for cache the ContentType ids

Testing Instructions

run next code:

JLoader::register('FinderIndexerHelper', JPATH_ADMINISTRATOR . '/components/com_finder/helpers/indexer/helper.php');
$name = uniqid();
var_dump(FinderIndexerHelper::addContentType($name));
var_dump(FinderIndexerHelper::addContentType($name));

Expected result

you will get 2 same id

Actual result

Error 'Duplicate entry 'xx' for key 'title''..

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
3.00

avatar Fedik Fedik - open - 8 Apr 2017
avatar Fedik Fedik - change - 8 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Apr 2017
Category Administration com_finder
avatar JonasAtZwetschke
JonasAtZwetschke - comment - 3 May 2017

I have tested this item successfully on 5902a88


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15181.

avatar JonasAtZwetschke JonasAtZwetschke - test_item - 3 May 2017 - Tested successfully
avatar finim
finim - comment - 4 May 2017

Successfully integrated the fix it into staging.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 May 2017

@finim is this a succesfully Test?

avatar Fedik
Fedik - comment - 24 May 2017

one more test please :neckbeard:

avatar rdeutz rdeutz - change - 27 May 2017
Labels Added: ?
avatar twister65
twister65 - comment - 23 Sep 2018

I have not tested this item.

I can't reproduce the error 'Duplicate entry 'xx' for key 'title'',
I got the expected result (same two identifiers) without applying this patch.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15181.

avatar twister65 twister65 - test_item - 23 Sep 2018 - Not tested
avatar Fedik Fedik - change - 5 May 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-05-05 13:21:05
Closed_By Fedik
Labels Removed: J3 Issue
avatar Fedik Fedik - close - 5 May 2019

Add a Comment

Login with GitHub to post a comment