Removed all default values for type 'TEXT'#17860
Removed all default values for type 'TEXT'#17860eXsiLe95 wants to merge 4 commits intojoomla:stagingfrom
Conversation
|
Dont we also have to handle updates? |
You are totally right! I will deal with it! |
|
Do I also have to create a new PR for 3.9 or is there any way to merge this into 3.9 simultaneously? |
|
You should also remove default values for type mediumtext |
|
Does it concerns other types of db? |
I searched for them, but it seems they have no |
|
@eXsiLe95 in Global Settings "Default Editor" is set to "None", PR isn't applied and Module (new Administrator Menu) is saved without Error. |
|
Regarding the update sql scripts: It is right to modify them here, too, because otherwise the db checker would complain about wrong column type. But it needs in addition new update sql scripts with suitable version and date in their file name, e.g. |
|
@eXsiLe95 Are you still available regarding modification of this PR? If so, could you check my comment above and add the new update SQL scripts? |
|
Merge conflict in postgresql/joomla.sql solved. |
|
I have tested this item ✅ successfully on 32d5f59 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17860. |
|
@alikon Please change back your test result to not tested. As I mentioned above, this PR is missing sql update scripts for next version. Furthermore I found in postgresql joomla.sql there were still 2 places with text column having default empty string. I am just working on completion of this PR. |
|
personal note |
|
ok, |
|
I have not tested this item. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17860. |
|
@alikon That's why it was on my task list for this weekend. Thanks to @Quy who has pointed me to this PR. I will make sure it will be finished tomorrow evening. @eXsiLe95 Let me know soon if you want to continue, then I make PR to your branch. Otherwise I'll continue with my branch, which includes all commit history from you so your work will be still visible. |
|
@alikon Ah yes thanks for assigning it to me .. I have forgotten that. |
|
github have a lot of features that can help us a lot ......i'm still discovering |
|
@alikon I know ... I've just forgotten it ... am working on completions of all. @eXsiLe95 gave maintainers write access to his fork so as I am a maintainer now I can directly commit my changes to his branch, if he allows me that or if it turns out to be the easiest way. But I will require more test than just code review. It needs to test new install and update on mysql and postgres, so be prepared for work for you 😛 |
|
Closing in favour of PR #27937 . |
Remove all default values for type 'text' or 'mediumtext' - redo of PR #17860
Pull Request for PR #17752 (see bottom, same patch but for Joomla! 3).
Summary of Changes
Removed all default values for SQL type
text.Testing Instructions
For those who had errors while saving administrator modules without an editor: Install a new fresh Joomla! 3 installation with the bugfix applied, so that the SQL table is updated. Go to administrator > Modules and set it to Administrator. Try to create a new Administrator Menu (for example), so that there is no editor tool in the creation window (because that's where the content comes from). Try to save this module.
Expected result (after patch)
The module can be saved.
Actual result (before patch)
There is an SQL error saying
Documentation Changes Required
There is no documentation inside the joomla.sql installation scripts.