? ? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
1 Jun 2018

Moved from #20329

Summary of Changes

  • Only show a message when the verification fails (request by @mbabker )
  • Handle the verification locally in com_joomlaupdate so we don't depend on the other method to be up-to-date. (like releasing a standalone version)
  • Throw something in the log when the verification fails.
  • Make sure we are using the correct update object and don't do some magic with passing the update xml.

Testing Instructions

First Case
Seccond Case

Expected result

Make sure the update works without any kind of warning

Actual result

Well the update works but throws a warning as the url is not passed.

Documentation Changes Required

None.

avatar zero-24 zero-24 - open - 1 Jun 2018
avatar zero-24 zero-24 - change - 1 Jun 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2018
Category Administration com_joomlaupdate
avatar ReLater
ReLater - comment - 1 Jun 2018

Install 3.9-dev with this changes: https://github.com/zero-24/joomla-cms/archive/fix39updater.zip

throws an "404 Not found".

To be replaced with https://github.com/zero-24/joomla-cms/archive/fix39updateragain.zip ?

avatar zero-24
zero-24 - comment - 1 Jun 2018

Yes.

avatar zero-24 zero-24 - change - 1 Jun 2018
The description was changed
avatar zero-24 zero-24 - edited - 1 Jun 2018
avatar ReLater
ReLater - comment - 1 Jun 2018

Tried "Second case" with fix39updateragain.zip and see a single message

Warning: File Checksum Failed

Tell me please if that's a successful test for this pr because the checksum just has changed since last nightly build.


"First Case" messages yesterday were:
31-05-_2018_22-44-03

avatar ReLater
ReLater - comment - 1 Jun 2018

On the other hand. Shouldn't the update stop if checksum is wrong? Or is that not part of this pr?

01-06-_2018_22-22-29

01-06-_2018_22-25-44

avatar zero-24
zero-24 - comment - 1 Jun 2018

On the other hand. Shouldn't the update stop if checksum is wrong? Or is that not part of this pr?

We are not going to enforce this in 3.x but in 4.0 as per note in the inline comment ;)

"First Case" messages yesterday were:

This seams to be still the old code as the message you got was removed in this patch.
Please remember that when you update to the nightly the patch applied here get reverted ;)

avatar ReLater
ReLater - comment - 1 Jun 2018

I have tested this item successfully on 760de79


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

avatar ReLater ReLater - test_item - 1 Jun 2018 - Tested successfully
avatar zero-24 zero-24 - change - 2 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jun 2018
Category Administration com_joomlaupdate Administration com_joomlaupdate Language & Strings
avatar zero-24 zero-24 - change - 15 Jun 2018
Labels Added: ?
avatar alikon alikon - test_item - 16 Jun 2018 - Tested successfully
avatar alikon
alikon - comment - 16 Jun 2018

I have tested this item successfully on fa2bd02


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Jun 2018

@ReLater can you please retest?

avatar ReLater
ReLater - comment - 16 Jun 2018

EDIT: FORGET THIS COMMENT! Everything fine ;-)

Maybe I'm just confused and everything is OK.

I still have a message during update (see image) following the steps of "Second Case" of instructions. Update via Live Update > Reinstall Joomla Core Files (https://developer.joomla.org/nightlies/Joomla_3.9.0-dev-Development-Update_Package.zip)

avatar ReLater ReLater - test_item - 16 Jun 2018 - Tested successfully
avatar ReLater
ReLater - comment - 16 Jun 2018

I have tested this item successfully on fa2bd02


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

avatar ReLater
ReLater - comment - 16 Jun 2018

Yeah, just confused (happy). Everything Ok after code review.

avatar Quy Quy - change - 16 Jun 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 Jun 2018

RTC


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

avatar mbabker mbabker - change - 18 Jun 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-06-18 02:53:49
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 18 Jun 2018
avatar mbabker mbabker - merge - 18 Jun 2018

Add a Comment

Login with GitHub to post a comment