? ? Pending

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
27 Apr 2017

Pull Request for Issue #12690

Summary of Changes

JPluginHelper::importPlugin() has a static tracking array that only allows a plugin to be loaded once, preventing the ability for plugins to be registered to anything but the first dispatcher that gets used. Change the method to track loaded plugins based on the dispatcher to allow custom imports.

Testing Instructions

See the issue for more information.

Expected result

Plugins imported to each unique dispatcher.

Actual result

Plugins are only loaded to the first dispatcher (generally the singleton from JEventDispatcher::getInstance()).

Documentation Changes Required

N/A

avatar mbabker mbabker - open - 27 Apr 2017
avatar mbabker mbabker - change - 27 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2017
Category Libraries
avatar zero-24
zero-24 - comment - 21 May 2017

hmm. did i something wrong?

To me it looks like:
image

avatar mbabker mbabker - change - 21 May 2017
Labels Added: ?
avatar mbabker
mbabker - comment - 21 May 2017

We just had even more static tracking in the helper than I accounted for. Should be fine now.

avatar zero-24
zero-24 - comment - 21 May 2017

I have tested this item successfully on 6823e49

looks good to me. Thanks @mbabker

@iv660 and @franz-wohlkoenig can you take a look here? Thanks!


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

avatar zero-24 zero-24 - test_item - 21 May 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 May 2017

@zero-24 didn't understand anything.

avatar zero-24
zero-24 - comment - 21 May 2017

@franz-wohlkoenig may you found some time to test this as you commented on the other issue too ;)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 May 2017

@zero-24 i asked if Issue is on latest staging too;-)

avatar alikon alikon - test_item - 17 Jun 2017 - Tested successfully
avatar alikon
alikon - comment - 17 Jun 2017

I have tested this item successfully on 414a26b


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

avatar zero-24 zero-24 - change - 17 Jun 2017
Status Pending Ready to Commit
Labels Added: ?
avatar rdeutz rdeutz - change - 21 Jun 2017
Milestone Added:
avatar rdeutz rdeutz - change - 5 Jul 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-07-05 15:55:06
Closed_By rdeutz
avatar rdeutz rdeutz - close - 5 Jul 2017
avatar rdeutz rdeutz - merge - 5 Jul 2017

Add a Comment

Login with GitHub to post a comment