? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
17 Feb 2015

When discovering new extensions, the module & template adapters fail to check for the presence of an extension manifest XML file which means that extension folders which aren't properly set up are listed as installable. This PR adds a file_exists() check which should block these uninstallable folders from being discovered as installable.

avatar mbabker mbabker - open - 17 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 17 Feb 2015
Labels Added: ?
avatar infograf768
infograf768 - comment - 18 Feb 2015

Do we need a new error if file does not exist?

avatar zero-24 zero-24 - change - 18 Feb 2015
Category Libraries
avatar mbabker
mbabker - comment - 18 Feb 2015

In this case, no. When you're discovering extensions, the system is scanning for valid extensions that have not been installed. Missing a manifest means the extension isn't valid so it should never get registered. None of the other adapters raise errors in this scenario either.

avatar waader
waader - comment - 2 Mar 2015

@test works! Thanks!

avatar waader waader - test_item - 2 Mar 2015 - Tested successfully
avatar nueckman
nueckman - comment - 14 Mar 2015

Looks good.

avatar b2un0
b2un0 - comment - 14 Mar 2015

Looks good, should be RTC.

avatar brianteeman brianteeman - change - 14 Mar 2015
Status Pending Ready to Commit
avatar mbabker mbabker - change - 14 Mar 2015
Labels Added: ?
avatar mbabker mbabker - change - 15 Mar 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-03-15 09:19:06
avatar mbabker mbabker - close - 15 Mar 2015
avatar mbabker mbabker - close - 15 Mar 2015
avatar phproberto
phproberto - comment - 15 Mar 2015

Merged. Thanks!

Add a Comment

Login with GitHub to post a comment