? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
20 Jul 2018

Pull Request for Issue #21153 .

Summary of Changes

Fix some undefined variables in the installer

Testing Instructions

Install a language pack (German, French or Persian are available through Install Languages)
Then go to Extensions : Manage and uninstall the pack

Expected result

Pack is correctly uninstalled.
Notices in php logs

Actual result

[17-Jul-2018 07:27:54 Europe/Berlin] PHP Notice: Undefined variable: element in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Installer/Adapter/LanguageAdapter.php on line 122
[17-Jul-2018 07:27:54 Europe/Berlin] PHP Notice: Undefined variable: element in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Installer/Adapter/LanguageAdapter.php on line 122
[17-Jul-2018 07:27:54 Europe/Berlin] PHP Notice: Undefined variable: error in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Installer/Adapter/PackageAdapter.php on line 445

Note these variables won't show on screen because of the redirect - you'll need to either add breakpoints or check your php error log

avatar wilsonge wilsonge - open - 20 Jul 2018
avatar wilsonge wilsonge - change - 20 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jul 2018
Category Libraries
avatar richard67 richard67 - test_item - 20 Jul 2018 - Tested successfully
avatar richard67
richard67 - comment - 20 Jul 2018

I have tested this item successfully on a0895d6


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

avatar infograf768 infograf768 - test_item - 20 Jul 2018 - Tested successfully
avatar infograf768
infograf768 - comment - 20 Jul 2018

I have tested this item successfully on a0895d6


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

avatar infograf768 infograf768 - change - 20 Jul 2018
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 20 Jul 2018

RTC. Thanks


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

avatar laoneo laoneo - close - 20 Jul 2018
avatar laoneo laoneo - merge - 20 Jul 2018
avatar laoneo laoneo - change - 20 Jul 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-20 18:04:22
Closed_By laoneo
Labels Added: ?
avatar laoneo
laoneo - comment - 20 Jul 2018

Nice.

Add a Comment

Login with GitHub to post a comment