User tests: Successful: Unsuccessful:
When indexing content via a finder plugin which may have multiple mime types (e.g. document management systems, pdf, doc, zip etc.), adding a new mime type will work, but if another document with the same mime type exists, consecutive getting the type id results in a duplicate insert in table #__finder_types.
This is due to that the static method variable $types is initialized on the first call of the method and does not take in account mime types inserted after initialization.
The fix adds the newly inserted mime type into $types hash, so that calling this method againg with the same mimetype results in a positive lookup within the hash.
JoomlaCode-Tracker item: 33700
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33700
This has been done towards staging and as it passes ok, it imho means it would also be necessary here.
remains for the pacth to be tested and a similar one done towards 2.5.x
Will need clear testing instructions, please.
Title |
|
||||||
Labels |
Removed:
?
|
Thank you for your contribution and participation in the bug tracking process. As there has been no response to the request for testing information I am closing this report at this time.
We have now moved our bug tracking process to http://issues.joomla.org/ so if you have further information that would enable this issue to be reopened please update the issue at http://issues.joomla.org/tracker/joomla-cms/3558 and it can be reopened.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-22 10:36:48 |
This is for our joomla 2.5.20 installations, but I suspect that this is also true for master.
Sorry If I've made the pull request for the wrong branch.