? Failure

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
28 Jul 2016

Pull Request for Issue # .

Summary of Changes

Third argument passed to JClientFtp::getInstance must be an array. Null was passed instead, results in catchable fatal error (only if FTP is used).

Testing Instructions

I recommend that this be accepted on the basis of code review alone as the problem and solution are quite obvious and testing this function is not trivial.

avatar okonomiyaki3000 okonomiyaki3000 - open - 28 Jul 2016
avatar okonomiyaki3000 okonomiyaki3000 - change - 28 Jul 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jul 2016
Category Administration Components
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jul 2016
Labels Added: ?
avatar roland-d
roland-d - comment - 28 Jul 2016

Merged based on code review.

avatar roland-d roland-d - change - 28 Jul 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-07-28 06:59:11
Closed_By roland-d
avatar roland-d roland-d - close - 28 Jul 2016
avatar roland-d roland-d - change - 28 Jul 2016
Status Closed New
Closed_Date 2016-07-28 06:59:11
Closed_By roland-d
avatar roland-d roland-d - change - 28 Jul 2016
Status New Pending
avatar roland-d roland-d - reopen - 28 Jul 2016
avatar roland-d roland-d - change - 28 Jul 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-07-28 06:59:30
Closed_By roland-d
avatar roland-d roland-d - close - 28 Jul 2016
avatar roland-d roland-d - merge - 28 Jul 2016
avatar PhilETaylor
PhilETaylor - comment - 4 Aug 2016

has this caused #11432 ?

avatar okonomiyaki3000
okonomiyaki3000 - comment - 4 Aug 2016

It seems so.

avatar brianteeman
brianteeman - comment - 4 Aug 2016

Untested pull requests ;(

On 4 August 2016 at 12:17, Elijah Madden notifications@github.com wrote:

It seems so.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11325 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8aoWgxtlpR1lvTub8tqOKG_WmT3Jks5qccpWgaJpZM4JW46s
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar zero-24
zero-24 - comment - 4 Aug 2016

The mode FTP Update was broken befor.

0 Argument 3 passed to JClientFtp::getInstance() must be of the type array, null given, called in /srv/www/vhosts/mysite.ch/httpdocs/libraries/joomla/filesystem/file.php on line 488

please double read the error message.

This here give a array and not a null.

The issue got fixed with 3.6.1 here: b7b37ce & #11086

avatar ggppdk
ggppdk - comment - 4 Aug 2016

The issue got fixed with 3.6.1 here: b7b37ce & #11086

yes, these changes are not the cause of the issue,
they fix it, and J3.6.0 does not contain these fixes

see my comment here:
#11432 (comment)

and also does the error appear only in PHP7 ?

avatar mbabker
mbabker - comment - 4 Aug 2016

The change is right, the parameter is typehinted to array so it's correctly fixing an issue.

It's been a while since I looked but I think PHP 7 is a little more strict on typehints than PHP 5 was so the fact it was passing a null to a typehinted array wasn't a big deal. We've fixed some signatures in the Framework code that had something like array $options = null which raised errors too.

Add a Comment

Login with GitHub to post a comment