Feature RTC PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar sergeytolkachyov
sergeytolkachyov
4 Jan 2024

Change type of field "value" in table #_fields_values from text to mediumtext for MySQL ONLY. PostgreSQL have only text field type with unlimited length. Pull Request for Issue #36065 and remake a PR #42605 for Joomla 5.1.0

Testing instructions

  1. Go to bottom of this PR and click Show all checks in All checks have passed section
  2. Click on Details in download line
    image
  3. You will go to https://artifacts.joomla.org/drone/joomla/joomla-cms/5.1-dev/42606/downloads/72696/
  4. Download Full installation package and update package of Joomla 5.1 + this PR
    image
  5. Make a clean install from Joomla_5.1.0-alpha3-dev+pr.42606-Development-Full_Package.zip
  6. Go to PhpMyAdmin, select database you used for clean install and go to the #__field_values table. Then go to structure section and check that type of value field is mediumtext.
    image
  7. Clean your database and test domain folder and install a Joomla 5.0.1
  8. Check value field type in PHP My Admin in #__field_values table. It is a text type now.
    image
  9. Then go to admin panel / System / Update / Joomla . Press the Upload and Update button
    image
  10. Upload the Joomla_5.1.0-alpha3-dev+pr.42606-Development-Update_Package and update
    image
  11. Then go to PhpMyAdmin again and check the #__field_values table - type of field value. It could be a mediumtext
    image
avatar sergeytolkachyov sergeytolkachyov - open - 4 Jan 2024
avatar sergeytolkachyov sergeytolkachyov - change - 4 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jan 2024
Category SQL Administration com_admin Installation
avatar richard67
richard67 - comment - 4 Jan 2024

@sergeytolkachyov By review your PR looks good to me. But it would be good if you could provide some testing instructions. When you create a pull request, there are already headings for testing instructions and so on in the description. This is intended to be completed by the author, not to be removed completely. Possible testing instructions could be to make a new installation and check the type of the column after that, and to make an update with the package ur custom URL created by drone and check the type of the column after that. Or in this simple case maybe only "Code review". But there should be some testing instructions.

avatar richard67
richard67 - comment - 5 Jan 2024

@sergeytolkachyov You reacted with a thumbs up to my previous comment, but you haven't added any testing instructions to the description of this PR yet. Could you do that? Thanks in advance.

avatar sergeytolkachyov
sergeytolkachyov - comment - 5 Jan 2024

@sergeytolkachyov You reacted with a thumbs up to my previous comment, but you haven't added any testing instructions to the description of this PR yet. Could you do that? Thanks in advance.

Yes, I'll do that

avatar bembelimen
bembelimen - comment - 5 Jan 2024

Just an off topic comment, if you working heavily with custom fields: you can improve the performance enormous when you change the item_id column to integer instead of varchar.

But for this change we need a small kind of migration, but I think worth to investigate (if you're up for another PR)

avatar sergeytolkachyov sergeytolkachyov - change - 5 Jan 2024
The description was changed
avatar sergeytolkachyov sergeytolkachyov - edited - 5 Jan 2024
avatar sergeytolkachyov
sergeytolkachyov - comment - 5 Jan 2024

@sergeytolkachyov You reacted with a thumbs up to my previous comment, but you haven't added any testing instructions to the description of this PR yet. Could you do that? Thanks in advance.

Done

avatar richard67
richard67 - comment - 5 Jan 2024

Done

Thanks.

avatar sergeytolkachyov sergeytolkachyov - change - 5 Jan 2024
The description was changed
avatar sergeytolkachyov sergeytolkachyov - edited - 5 Jan 2024
avatar chmst
chmst - comment - 5 Jan 2024

Just an off topic comment, if you working heavily with custom fields: you can improve the performance enormous when you change the item_id column to integer instead of varchar.

But for this change we need a small kind of migration, but I think worth to investigate (if you're up for another PR)

@bembelimen It did that in my application with about 40k fields_values and it makes such an incredible huge difference. I would really appreciate and support a PR for that.

avatar sergeytolkachyov
sergeytolkachyov - comment - 25 Jan 2024

@richard67 @bembelimen not merged?

avatar richard67
richard67 - comment - 25 Jan 2024

@sergeytolkachyov You should know that

  1. Every non trivial pull request needs 2 successful tests by human testers before it can be merged, and
  2. I am not a release manager so I won’t decide anything.
avatar alikon
alikon - comment - 25 Jan 2024

quite every pr needs 2 human test

avatar alikon alikon - test_item - 25 Jan 2024 - Tested successfully
avatar alikon
alikon - comment - 25 Jan 2024

I have tested this item ✅ successfully on a7badaa

code review


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

avatar richard67
richard67 - comment - 25 Jan 2024

quite every pr needs 2 human test

Yes, if it’s not just a typo in a comment, that’s what I mean with „non trivial“.

avatar sergeytolkachyov
sergeytolkachyov - comment - 25 Jan 2024

Strangely, for some reason I remembered that 2 necessary tests had already been done.

avatar richard67
richard67 - comment - 25 Jan 2024

Strangely, for some reason I remembered that 2 necessary tests had already been done.

@sergeytolkachyov Where? Here in the PR I can not see any human test results except of the one from a few minutes ago.

avatar sergeytolkachyov
sergeytolkachyov - comment - 25 Jan 2024

Strangely, for some reason I remembered that 2 necessary tests had already been done.

@sergeytolkachyov Where? Here in the PR I can not see any human test results except of the one from a few minutes ago.

I wrote to 3 humans for testing now. Thank you

avatar gug2 gug2 - test_item - 25 Jan 2024 - Tested successfully
avatar gug2
gug2 - comment - 25 Jan 2024

I have tested this item ✅ successfully on a7badaa

Successfully tested


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

avatar richard67 richard67 - change - 25 Jan 2024
Status Pending Ready to Commit
Labels Added: Feature PR-5.1-dev
avatar richard67
richard67 - comment - 25 Jan 2024

RTC


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

avatar Quy Quy - change - 25 Jan 2024
Labels Added: RTC
avatar Razzo1987 Razzo1987 - change - 26 Jan 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-01-26 12:00:43
Closed_By Razzo1987
avatar Razzo1987 Razzo1987 - close - 26 Jan 2024
avatar Razzo1987 Razzo1987 - merge - 26 Jan 2024
avatar Razzo1987
Razzo1987 - comment - 26 Jan 2024

Thanks!

Add a Comment

Login with GitHub to post a comment