? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
9 Feb 2015

This PR tries to address issues noted in #5945 and #5977 specifically dealing with the manifest caching in adapter instances and incomplete data when performing a discover install.

  • Restructures discover_install so that the adapter's prepareDiscoverInstall() method is called to load the correct extension paths to memory before calling loadLanguage which is inherently dependent on having access to the manifest XML.
  • Modifies JInstaller so that each install route will always fetch a new adapter instance with the injected parameters, however only the first adapter for a given extension type will get cached (which includes its own internal memory). Support for the internal adapter cache is deprecated and should be removed at 4.0.
  • When possible, injects a manifest into the adapter when it is instantiated.
avatar mbabker mbabker - open - 9 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 9 Feb 2015
Labels Added: ?
avatar digitalgarage
digitalgarage - comment - 9 Feb 2015

@mbabker Just tested and I can confirm this fixes #5977. I haven't been able to test #5945.

Thanks!
Eric.

avatar ercanozkaya
ercanozkaya - comment - 9 Feb 2015

I can confirm this fixes #5945 too. Thanks @mbabker

avatar zero-24 zero-24 - change - 9 Feb 2015
Status Pending Ready to Commit
avatar zero-24 zero-24 - change - 9 Feb 2015
Category Libraries
avatar zero-24
zero-24 - comment - 9 Feb 2015

Moving to RTC based on testing by @digitalgarage and @ercanozkaya Thanks @mbabker !


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6024.
avatar zero-24 zero-24 - alter_testresult - 9 Feb 2015 - digitalgarage: Tested successfully
avatar zero-24 zero-24 - alter_testresult - 9 Feb 2015 - ercanozkaya: Tested successfully
avatar roland-d roland-d - change - 9 Feb 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-02-09 17:31:36
avatar roland-d roland-d - close - 9 Feb 2015

Add a Comment

Login with GitHub to post a comment