? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
2 Dec 2014

This fixes a minor b/c break in #4292 where in some cases you could get the InvalidArgumentException being thrown when you got a 303 message.

Cases involved passing in empty string or null as the message parameter meaning the check at https://github.com/joomla/joomla-cms/pull/4292/files#diff-11a160a70413114ea70faf547cd097ecR976 failed and these values became the moved parameter (and weren't booleans or integers).

This adds a unit test for that scenario and fixes it. Of course all of this relates to the old redirect method and so of course is deprecated.

avatar wilsonge wilsonge - open - 2 Dec 2014
avatar jissues-bot jissues-bot - change - 2 Dec 2014
Labels Added: ?
avatar JoomliC
JoomliC - comment - 2 Dec 2014

@test success!
Result : no B/C anymore.

avatar beat
beat - comment - 2 Dec 2014

:+1:
@test success!
Same Result: No B/C anymore on redirects using old API (tested with CB installed from WebStore: 3.3.6 worked, master without patch fails, and with this PR it works again. Also tested other redirects in Joomla, and they still work (which was 100% certain looking at this PR).
Code-review is ok for me too. (y)

Thanks @wilsonge for your great improvement in com_redirect, and the library, and your quick addressing of this little B/C! Keep up your great work, Joomla needs people like you :+1:

avatar JoomliC
JoomliC - comment - 2 Dec 2014

Thanks @wilsonge for your great improvement in com_redirect, and the library, and your quick addressing of this little B/C! Keep up your great work, Joomla needs people like you :+1:

The same as @beat : @wilsonge :+1: :100:

avatar infograf768 infograf768 - close - 2 Dec 2014
avatar infograf768 infograf768 - reference | 1e58493 - 2 Dec 14
avatar infograf768 infograf768 - merge - 2 Dec 2014
avatar infograf768 infograf768 - close - 2 Dec 2014
avatar infograf768 infograf768 - change - 2 Dec 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-12-02 17:39:59
avatar Bakual Bakual - change - 2 Dec 2014
Milestone Added:
avatar wilsonge wilsonge - head_ref_deleted - 2 Dec 2014

Add a Comment

Login with GitHub to post a comment