? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
2 Mar 2015

When using JPluginHelper::getLayoutPath() in a plugin executing from the admin application, the lookup paths for the base plugin path are incorrect as the JPATH_BASE path constant is used to build the base path. This constant differs between the site and admin applications.

This PR adjusts the lookup paths to use the JPATH_PLUGINS path constant instead.

avatar mbabker mbabker - open - 2 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 2 Mar 2015
Category Libraries Plugins
avatar n9iels
n9iels - comment - 3 Mar 2015

I tested this patch by opening and saving some random plugin on the back-end. Is that a good way to test this patch?
Code looks also good to me


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6266.
avatar n9iels n9iels - test_item - 3 Mar 2015 - Tested successfully
avatar mbabker
mbabker - comment - 3 Mar 2015

You'd really need a plugin that's using this feature to properly test it. I don't know of any which use it in the backend to be honest other than one I'm currently working on where I found the issue (I'd need to strip it down and sanitize it to share it).

avatar joomdonation
joomdonation - comment - 4 Mar 2015

Code looks absolutely correct. Right now, I only see one plugin use that code in Joomla core. It is "Content - Page Navigation". I tested that plugin and It is working as expected.

So @test success from me.

PS: I think with simple PR like this, someone can simply review code and merge it.

avatar zero-24 zero-24 - change - 4 Mar 2015
Status Pending Ready to Commit
avatar zero-24 zero-24 - alter_testresult - 4 Mar 2015 - joomdonation: Tested successfully
avatar zero-24
zero-24 - comment - 4 Mar 2015

Moving RTC Thanks for testing and coding!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6266.
avatar brianteeman brianteeman - change - 5 Mar 2015
Labels Added: ?
avatar mbabker mbabker - close - 7 Mar 2015
avatar zero-24 zero-24 - close - 7 Mar 2015
avatar mbabker mbabker - change - 7 Mar 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-03-07 02:13:38
avatar mbabker mbabker - close - 7 Mar 2015
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment