? Pending

User tests: Successful: Unsuccessful:

avatar demis-palma
demis-palma
5 Feb 2018

Summary of Changes

The method getTemplate() implemented in CMSApplication, SiteApplication and AdministratorApplication wants a bool as unique parameter.
Currently there are a few occurrences where a string is passed instead, which incidentally assumes the intended value (true) when implicitly converted to bool:
(bool)'template' → true

Testing Instructions

To be merged on code review.

Fixed on staging too.

avatar demis-palma demis-palma - open - 5 Feb 2018
avatar demis-palma demis-palma - change - 5 Feb 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Feb 2018
Category Administration com_templates Front End com_config
avatar mbabker
mbabker - comment - 5 Feb 2018

FYI you don't need to do PRs for both 3.x (staging/3.9-dev) and 4.x (4.0-dev). Albeit slowly, stuff is getting merged from staging into both 3.9-dev and 4.0-dev branches, so if you fix an issue in one branch it'll get applied everywhere.

avatar demis-palma demis-palma - change - 5 Feb 2018
The description was changed
avatar demis-palma demis-palma - edited - 5 Feb 2018
avatar demis-palma
demis-palma - comment - 5 Feb 2018

I suspected something like this, but I wasn't sure because the patch is slightly different in the two branches.
Sorry for the mess and thanks for the information.

avatar zero-24
zero-24 - comment - 7 Feb 2018

IMO this here can be closed as the other PR should be merged in 4.0 too by updating 4.0 with staging.

avatar mbabker mbabker - change - 7 Feb 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-02-07 00:06:15
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 7 Feb 2018

Add a Comment

Login with GitHub to post a comment