? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
27 Aug 2022

The default values for these two fields was not being set during installation. This PR will fix that for new installs. We can't do updates as it would be changing user data

code review should be fine

avatar brianteeman brianteeman - open - 27 Aug 2022
avatar brianteeman brianteeman - change - 27 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2022
Category SQL Installation Postgresql
avatar richard67
richard67 - comment - 28 Aug 2022

@brianteeman Checking elsewhere in the SQL, the integer values are quoted with double quotes, too, e.g. here:

https://github.com/joomla/joomla-cms/pull/38617/files#diff-3a9a51c74db65d66b70dbd56c86e63882cfaa26701ef6ff3f88bd0ea2682bb9fR286

https://github.com/joomla/joomla-cms/pull/38617/files#diff-d6e22b9d36df769fc1e7f3e847faf6374793792fe81b73166837406587ab3348R292

On the other hand, when saving the parameters of that field or of the fields modified by your PR, the integer values are not quoted. I've tested with MySQL and MariaDB and PostgreSQL.

So your PR is right.

But it seems we could clean up the quotes elsewhere, too (of course not with this PR).

avatar richard67
richard67 - comment - 28 Aug 2022

I have tested this item successfully on 7f03618

Tested with MySQL and MariaDB and PostgreSQL (recent versions) that the "params" values saved in database when saving the plugins options without having made changes after a new install are equal to what this PR adds to the SQL.


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

avatar richard67 richard67 - test_item - 28 Aug 2022 - Tested successfully
avatar viocassel
viocassel - comment - 29 Aug 2022

I have tested this item successfully on 7f03618


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

avatar viocassel viocassel - test_item - 29 Aug 2022 - Tested successfully
avatar richard67 richard67 - change - 29 Aug 2022
Status Pending Ready to Commit
Labels Added: ?
avatar richard67
richard67 - comment - 29 Aug 2022

RTC


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

avatar fancyFranci fancyFranci - change - 6 Sep 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-09-06 19:55:39
Closed_By fancyFranci
Labels Added: ?
avatar fancyFranci fancyFranci - close - 6 Sep 2022
avatar fancyFranci fancyFranci - merge - 6 Sep 2022
avatar fancyFranci
fancyFranci - comment - 6 Sep 2022

Good that you fixed that. Thank you!

avatar brianteeman
brianteeman - comment - 6 Sep 2022

thx

Add a Comment

Login with GitHub to post a comment