? Pending

User tests: Successful: Unsuccessful:

avatar degobbis
degobbis
7 Jul 2020

Summary of Changes

A better way to set the FTP credentials for the view
1. we should define the property in the view in which we want to fill it later
2. we should use the set method from the base class to set a value
3. the marking as a reference is no longer necessary

After further research it seems that the variable $this->ftp holding the return value of the setCredentialsFromRequest() method is not used and / or directly overwritten in the associated view with the FTP credentials from the model.

Testing Instructions

Code review

avatar degobbis degobbis - open - 7 Jul 2020
avatar degobbis degobbis - change - 7 Jul 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2020
Category Administration com_joomlaupdate
avatar degobbis degobbis - change - 7 Jul 2020
Labels Added: ?
avatar degobbis degobbis - change - 11 Jul 2020
Title
[4.0] A better way to set the FTP credentials for the view
[4.0] [cosmetics] Remove variable type mixing in display controller / view
avatar degobbis degobbis - edited - 11 Jul 2020
avatar degobbis degobbis - change - 11 Jul 2020
The description was changed
avatar degobbis degobbis - edited - 11 Jul 2020
avatar chmst chmst - test_item - 20 Jul 2020 - Tested successfully
avatar chmst
chmst - comment - 20 Jul 2020

I have tested this item successfully on e57dc08

Code inspect, looks good.


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

avatar matrikular matrikular - test_item - 20 Jul 2020 - Tested successfully
avatar matrikular
matrikular - comment - 20 Jul 2020

I have tested this item successfully on e57dc08

Looks good on code review.


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

avatar richard67 richard67 - change - 20 Jul 2020
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 20 Jul 2020

RTC


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

avatar wilsonge
wilsonge - comment - 4 Aug 2020

I want a practical test of this too please as it covers Joomla Update. Code review is good enough for one test but not both

avatar richard67
richard67 - comment - 5 Aug 2020

I want a practical test of this too please as it covers Joomla Update. Code review is good enough for one test but not both

@degobbis Please provide testing instructions for a practical test. Thanks in advance.

avatar degobbis
degobbis - comment - 5 Aug 2020

@richard67 @wilsonge
For testing we need an older NightlyBuild to exerzise an Joomla update, where I can get one?

avatar degobbis
degobbis - comment - 5 Aug 2020

While playing through the test instruction I noticed that a test is very complex and not easy to do.

Since the FTP credentials were implemented as a workaround for the wwwrun problem on web servers, such a server is necessary for a reliable test.

Already the installation of Joomla on such a server is the first hurdle.

At least two installations are necessary, because resetting the installation after the update is not so easy and could falsify the result because of the file permissions.

Do we have professionals who could test this?

avatar richard67
richard67 - comment - 5 Aug 2020

There is another PR dealing with Joompaupdate Upload & Update and FTP: #28029 . Maybe the author, @twister65 can help with testing here? Or maybe @Quy can do?

avatar Quy Quy - change - 10 Aug 2020
Status Ready to Commit Pending
avatar wilsonge wilsonge - change - 2 Jan 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-02 05:20:55
Closed_By wilsonge
avatar wilsonge wilsonge - close - 2 Jan 2021
avatar wilsonge wilsonge - merge - 2 Jan 2021
avatar wilsonge
wilsonge - comment - 2 Jan 2021

OK Doesn't look like we'll get testers :/ Thanks

Add a Comment

Login with GitHub to post a comment