? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
23 May 2021

Summary of Changes

Pull Request for Issue #34134

Testing Instructions

Install joomla 4
View configuration.php
Login to admin
save global configuration with no changes

see the https://gist.github.com/PhilETaylor/95609cc3d716e985aa348da5b839cced/revisions

as you can see debug_lang_const and cache_platformprefix on clean installation are booleans

After saving Joomla global configuration, they are converted and stored as integers.

Actual result BEFORE applying this Pull Request

public $debug_lang_const = 1;
public $cache_platformprefix = 1;

Expected result AFTER applying this Pull Request

public $debug_lang_const = true;
public $cache_platformprefix = true;

Documentation Changes Required

none

avatar PhilETaylor PhilETaylor - open - 23 May 2021
avatar PhilETaylor PhilETaylor - change - 23 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 May 2021
Category Administration com_config
avatar PhilETaylor
PhilETaylor - comment - 23 May 2021

drone failure unrelated to PR content :)

avatar joomdonation
joomdonation - comment - 25 May 2021

If you changed the saved value, you should also change the code where the config option is used. For example https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Language/Language.php#L327

avatar PhilETaylor
PhilETaylor - comment - 25 May 2021

while I agree - also have to take #34134 (comment) into account so cannot always assume they will be booleans ... yet :(

avatar joomdonation
joomdonation - comment - 25 May 2021

@PhilETaylor I'm aware of that. As long as you are not using strict comparison, I think we should be fine.

avatar PhilETaylor PhilETaylor - change - 25 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2021
Category Administration com_config Administration com_config Installation Libraries
avatar PhilETaylor
PhilETaylor - comment - 25 May 2021
avatar joomdonation joomdonation - test_item - 29 May 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 29 May 2021

I have tested this item successfully on b407963


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

avatar Quy Quy - test_item - 29 May 2021 - Tested successfully
avatar Quy
Quy - comment - 29 May 2021

I have tested this item successfully on b407963


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

avatar Quy Quy - change - 29 May 2021
The description was changed
Status Pending Ready to Commit
avatar Quy Quy - edited - 29 May 2021
avatar Quy
Quy - comment - 29 May 2021

RTC


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

avatar Quy
Quy - comment - 29 May 2021

RTC


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

avatar rdeutz rdeutz - change - 31 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-31 08:07:56
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 31 May 2021
avatar rdeutz rdeutz - merge - 31 May 2021

Add a Comment

Login with GitHub to post a comment