? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
3 May 2017

As title says:

Test instructions

Create a Site Settings menu item, display it in frontend.
Log as superadmin and save the site settings.
The Notice above will display in the PHP logs.

Patch. No more Notice.

avatar infograf768 infograf768 - open - 3 May 2017
avatar infograf768 infograf768 - change - 3 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
Category Administration com_config
avatar AlexRed
AlexRed - comment - 3 May 2017

I have tested this item successfully on 46be6bb

Patch ok for me


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

avatar AlexRed AlexRed - test_item - 3 May 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 May 2017

I have tested this item successfully on 46be6bb


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 May 2017

I have tested this item successfully on 46be6bb


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 May 2017

RTC after two successful tests.

avatar infograf768
infograf768 - comment - 3 May 2017

@mbabker

We shouldn't have client specific handling in our save global configuration routine. Also, this now results in the $path variable being undefined when you get into the next check which would emit a PHP warning except for the fact we're using error suppression.

Would you prefer a simple:

if (isset($data['cache_path']))
			{
				$path = $data['cache_path'];
			}
			elseif (!empty($prev['cache_path']))
			{
				$path = $prev['cache_path'];
			}
			else
			{
				$path = JPATH_SITE . '/cache';
			}
avatar mbabker
mbabker - comment - 3 May 2017

isset would be better and more consistent with the existing checks.

avatar infograf768 infograf768 - change - 3 May 2017
Labels Added: ?
avatar infograf768
infograf768 - comment - 3 May 2017

Done.
@AlexRed @franz-wohlkoenig
Please test again

avatar mbabker mbabker - change - 3 May 2017
Status Ready to Commit Pending
avatar mbabker mbabker - change - 3 May 2017
Easy No Yes
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 May 2017

I have tested this item successfully on 46be6bb


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 May 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 3 May 2017

I have tested this item successfully on 46be6bb

Patch ok for me


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

avatar AlexRed AlexRed - test_item - 3 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 May 2017

RTC

avatar infograf768
infograf768 - comment - 4 May 2017

@rdeutz this can now go in.

avatar rdeutz rdeutz - change - 4 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-04 07:25:51
Closed_By rdeutz
avatar rdeutz rdeutz - close - 4 May 2017
avatar rdeutz rdeutz - merge - 4 May 2017
avatar demis-palma
demis-palma - comment - 4 May 2017

I have tested this item ? unsuccessfully on 46be6bb
See #15813

Add a Comment

Login with GitHub to post a comment