RTC PR-5.3-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
12 Oct 2024

Pull Request for Issue #43929 .

Summary of Changes

alter #__fields.fieldparams to MEDIUMTEXT

Testing Instructions

run the sql

ALTER TABLE `#__fields` MODIFY `fieldparams` MEDIUMTEXT NOT NULL;

or
https://artifacts.joomla.org/drone/joomla/joomla-cms/5.3-dev/44238/downloads/79556/

Actual result BEFORE applying this Pull Request

the field is TEXT

Expected result AFTER applying this Pull Request

the field is MEDIUMTEXT

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 12 Oct 2024
avatar alikon alikon - change - 12 Oct 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2024
Category SQL Administration com_admin Installation
avatar alikon alikon - change - 12 Oct 2024
Title
mediumtext
[5.3] Change type of field "fieldparams" in table #_fields from text to mediumtext
avatar alikon alikon - edited - 12 Oct 2024
avatar alikon alikon - change - 12 Oct 2024
The description was changed
avatar alikon alikon - edited - 12 Oct 2024
avatar fgsw fgsw - test_item - 12 Oct 2024 - Tested successfully
avatar fgsw
fgsw - comment - 12 Oct 2024

I have tested this item ✅ successfully on 03a0fab


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

avatar alikon alikon - change - 13 Oct 2024
Labels Added: PR-5.3-dev
avatar richard67 richard67 - change - 13 Oct 2024
The description was changed
avatar richard67 richard67 - edited - 13 Oct 2024
avatar richard67 richard67 - alter_testresult - 13 Oct 2024 - fgsw: Tested successfully
avatar richard67
richard67 - comment - 13 Oct 2024

I've restored the previous human test result as the later changes which have invalidated the test counter were only some kind of code style without functional impact.

avatar richard67 richard67 - test_item - 13 Oct 2024 - Tested successfully
avatar richard67
richard67 - comment - 13 Oct 2024

I have tested this item ✅ successfully on 8270392


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

avatar richard67 richard67 - change - 13 Oct 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 13 Oct 2024

RTC


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

avatar laoneo
laoneo - comment - 14 Oct 2024

Do we not need the changes on postgres too?

avatar richard67
richard67 - comment - 14 Oct 2024

Do we not need the changes on postgres too?

@laoneo No. PostgreSQL doesn’t know mediumtext or so, it uses TEXT which can be if unlimited length. See also PR #42606 .

avatar laoneo laoneo - change - 14 Oct 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-10-14 08:34:59
Closed_By laoneo
Labels Added: RTC
avatar laoneo laoneo - close - 14 Oct 2024
avatar laoneo laoneo - merge - 14 Oct 2024
avatar laoneo
laoneo - comment - 14 Oct 2024

Thanks!

avatar Fedik
Fedik - comment - 14 Oct 2024

Oh, hold on, why? It is mistake.
We should not encourage developers to store huge amount of data in parameters.
Extensions, modules, templates, menu, have the text type for parameters, why fields hould be diferent?

avatar laoneo
laoneo - comment - 14 Oct 2024

This here is more about end users and not extension developers as the fieldparams column contains the options from the UI.

Add a Comment

Login with GitHub to post a comment