User tests: Successful: Unsuccessful:
Generates an autoload_psr4.php file with namespace and folder for the namespaced extensions. (First version, there needs to be done some follow ups)
Apply patch, and reload the page. Make sure there are no errors or notices and than check if there in the libraries folder there is a 'autoload_psr4.php' file created. (but only on first load)
This should be also updated on extension update, install, publish / unpublish etc.
As when the plugin is not enabled this can break the entire site, we should reevaluate protecting plugins / extensions OR move it to the installer etc.
Probably
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries Front End Plugins |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-31 17:45:22 |
Closed_By | ⇒ | wilsonge |
Also the autoload_psr4.php file needs to be added to .gitignore.
It also likely needs the JEXEC or die statement and some comment about the purpose of the file would be nice as well.
Plugin isn't even installed, the necessary SQL files are all missing.
Agree, especially as the whole goal is not clear from that pr where the journey should go.
@wilsonge Honestly, this should never have been merged without any discussion. Especially since @yvesh himself said
That's just not going to work using a plugin. Something as elementary as this has to be part of the extension installer itself.
Also it only takes care of components. But the methods retrieve all extensions....