? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
31 May 2017

Pull Request for Issue #16376 .

Summary of Changes

This PR fixes the issue #16376. com_cache was namespaced, so the code in JoomlaInstallerScript of com_admin needs to call the namespace class

Also, the default view in com_joomlaupdate was renamed to joomlaupdate (because Default could not be used in class name), so the the update controller in that component needs to be updated to the new view name

Testing Instructions

  1. Follow the issue description to see the issue
  2. Apply patch, confirm that the issue fixed

I already tested it myself, so maybe it could be merged by code review to save time of testers

avatar joomdonation joomdonation - open - 31 May 2017
avatar joomdonation joomdonation - change - 31 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2017
Category Administration com_admin com_joomlaupdate
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 May 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

I have tested this item ? unsuccessfully on a1c10b1

same Behaviour as described in #16376


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 May 2017 - Tested unsuccessfully
avatar joomdonation
joomdonation - comment - 31 May 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

will test.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

same Result using your Branch. Can this depend its a multilanguage Site?

avatar joomdonation
joomdonation - comment - 31 May 2017

No, it should not. Could you please zip the file administrator\components\com_admin\script.php and upload it here? I am thinking that the patch was not applied properly for some reason.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

Nightly Build: administrator\components\com_admin[script.php.zip](https://github.com/joomla/joomla-cms/files/1041678/script.php.zip)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

this is from nightly Build and applied PR:
script.php.zip

avatar joomdonation
joomdonation - comment - 31 May 2017

Yes. This file is valid. I don't understand why you still see the issue after that patch applied. Maybe something else which I don't know. Hope there is other tester tests this PR to confirm the error. The code is fine and I tested it myself before making the PR, too

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 May 2017

Fine at my End, lets hope for another Tester.

avatar wilsonge
wilsonge - comment - 31 May 2017

I've manually fixed the view name part as I know we changed that name so it's clearly correct. 15d495b

avatar joomdonation
joomdonation - comment - 31 May 2017

The $model = new \Joomla\Component\Cache\Administrator\Model\Cache; should be correct, too (the previous code is clearly wrong)

avatar wilsonge wilsonge - change - 31 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-31 23:28:06
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 31 May 2017
avatar wilsonge wilsonge - merge - 31 May 2017
avatar wilsonge
wilsonge - comment - 31 May 2017

I realised the reason the testing fails is because the model instance gets run after the update. so the code in this PR is never being run (we are using the code from the nightly which is still the old code). Merging this now. Then we can see once the nightly builds if things get fixed :)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Jun 2017

Updated Installation per downloaded nightly Build update Package works.

Add a Comment

Login with GitHub to post a comment