? ? Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
16 Jun 2019

Pull Request for Issue #25204 .

Summary of Changes

Added boolean conversion removed in pr #24089, also log a warning if wrong parameter type is used. Should be removed with J4.

Testing Instructions

use jroute::_ with $tls parameter as int and boolean (true/false)

Expected result

Now we convert it if type is Boolean.

Actual result

Boolean didn't got converted to 0 or 1.

avatar HLeithner HLeithner - open - 16 Jun 2019
avatar HLeithner HLeithner - change - 16 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jun 2019
Category Libraries
avatar richard67
richard67 - comment - 16 Jun 2019

@HLeithner It seems you mixed up texts for "Expected result" and "Actual result" in your description. "Expected result" should describe result with this PR applied, "Actual result" should describe result of current staging, i.e. without this PR applied.

avatar HLeithner HLeithner - change - 16 Jun 2019
The description was changed
avatar HLeithner HLeithner - edited - 16 Jun 2019
avatar HLeithner HLeithner - change - 16 Jun 2019
Labels Added: ?
avatar HLeithner
HLeithner - comment - 16 Jun 2019

@SharkyKZ you are right it's unnecessary anyway I changed it to convert all variables to int.

avatar SharkyKZ
SharkyKZ - comment - 21 Jun 2019

Just noticed this is in Route::_(). But it should be in Route::link().

avatar HLeithner
HLeithner - comment - 21 Jun 2019

For me it's only a pre Joomla 3.9 thing (and should be removed in j4) because Route::link added in this version but I'm still not sure to add it as you already stated the documentation says it's an integer.

avatar SharkyKZ SharkyKZ - test_item - 12 Jul 2019 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 12 Jul 2019

I have tested this item successfully on 955c92a


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

avatar SharkyKZ
SharkyKZ - comment - 12 Jul 2019

I have tested this item successfully on 955c92a


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

avatar richard67
richard67 - comment - 16 Jul 2019

@kirblam Please test this at it handles your issue #25204 .

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jul 2019
avatar Quy
Quy - comment - 8 Aug 2019

I have tested this item successfully on 955c92a


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

avatar Quy Quy - test_item - 8 Aug 2019 - Tested successfully
avatar Quy Quy - change - 8 Aug 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 8 Aug 2019

RTC


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

avatar infograf768 infograf768 - change - 8 Aug 2019
Labels Added: ?
avatar SniperSister SniperSister - change - 8 Aug 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-08 10:50:58
Closed_By SniperSister
avatar SniperSister SniperSister - close - 8 Aug 2019
avatar SniperSister SniperSister - merge - 8 Aug 2019

Add a Comment

Login with GitHub to post a comment