? ? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
30 Jul 2021

Pull Request for Issue #34984.

Summary of Changes

We need to cast the values to string before bind value to prepared statemement

Testing Instructions

  1. Set Debug System to enabled in Global Configuration
  2. Rebuild update sites
  3. Before patch: You got fatal error
  4. After patch: update sites rebuilt successfully
avatar joomdonation joomdonation - open - 30 Jul 2021
avatar joomdonation joomdonation - change - 30 Jul 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jul 2021
Category Administration com_installer
avatar richard67
richard67 - comment - 30 Jul 2021

@joomdonation I remember now when I had observed the issue a few days ago, @wilsonge had directly fixed it in the 4.0-dev branch with this commit: d78b4e6 .

Was that not sufficient?

And with your fix, will it still need those type casts from that commit?

avatar joomdonation joomdonation - change - 30 Jul 2021
Labels Added: ? ?
avatar richard67
richard67 - comment - 30 Jul 2021

Adding the release blocker label since rebuilding update sites shall not fail with broken update sites.

avatar joomdonation
joomdonation - comment - 30 Jul 2021

@richard67 That direct commit is for adding update sites, I think. This is for rebuild update sites.

avatar richard67
richard67 - comment - 30 Jul 2021

@richard67 That direct commit is for adding update sites, I think. This is for rebuild update sites.

Ah, yes, and that was where I observed the error, when installing an extension, and that seems to be solved.

avatar richard67 richard67 - test_item - 30 Jul 2021 - Tested successfully
avatar richard67
richard67 - comment - 30 Jul 2021

I have tested this item successfully on ddfd282

Easy test. Install some extension (e.g. patchtester). Rebuild update sites and see the error. Apply the patch, rebuild update sites again and see the error has gone and update sites have been correctly rebuilt.


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

avatar ChristineWk ChristineWk - test_item - 30 Jul 2021 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 30 Jul 2021

I have tested this item successfully on ddfd282


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

avatar alikon alikon - change - 30 Jul 2021
Status Pending Ready to Commit
avatar alikon
alikon - comment - 30 Jul 2021

RTC


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

avatar ChristineWk
ChristineWk - comment - 30 Jul 2021

But you have to: Set Debug System to enabled in Global Configuration - then I saw the error before Patch.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/34985.
avatar richard67
richard67 - comment - 30 Jul 2021

But you have to: Set Debug System to enabled in Global Configuration - then I saw the error before Patch.

Yes, I have forgotten to mention that in my test result.

avatar brianteeman brianteeman - test_item - 30 Jul 2021 - Tested successfully
avatar brianteeman
brianteeman - comment - 30 Jul 2021

I have tested this item successfully on ddfd282


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

avatar wilsonge wilsonge - close - 31 Jul 2021
avatar wilsonge wilsonge - merge - 31 Jul 2021
avatar wilsonge wilsonge - change - 31 Jul 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-07-31 08:06:17
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 31 Jul 2021

Thanks!

Add a Comment

Login with GitHub to post a comment