? ? Pending

User tests: Successful: Unsuccessful:

avatar pixxelfactory
pixxelfactory
20 May 2019

Pull Request for Issue # .

Summary of Changes

When using a content-plugin to add fields to the core content of joomla, if the user adds more content than 5160 characters, the attribs json will be truncated.
Since in the most cases using a plugin is necessary (the Field Groups / Fields ecc. do not have all functionality wich is needed on many sites), i extended the two db-fields to mediumtext / text.

avatar pixxelfactory pixxelfactory - open - 20 May 2019
avatar pixxelfactory pixxelfactory - change - 20 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2019
Category SQL Installation Postgresql
avatar SharkyKZ
SharkyKZ - comment - 20 May 2019

IMO, text is fine (and consistent with params columns in other tables) but mediumtext sounds overkill. If you're storing that much JSON data, you're probably better off creating a separate table for your plugin.

avatar pixxelfactory pixxelfactory - change - 20 May 2019
Labels Added: ?
avatar pixxelfactory
pixxelfactory - comment - 20 May 2019

Changed mediumtext to text

avatar alikon
alikon - comment - 20 May 2019

you need to add the update sql script too

avatar pixxelfactory
pixxelfactory - comment - 20 May 2019

You mean an update-script wich changes the existing varchar field to text (if a user updates joomla?)
Where do i need to put that?
Thanks and best regards

avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2019
Category SQL Installation Postgresql SQL Administration com_admin Installation Postgresql
avatar pixxelfactory
pixxelfactory - comment - 20 May 2019

I've added the two sql-scripts, i'm not sure if the Postgres update-script is 100% correct, since i usually do not use Postgres.
Another question: Why is the continous-integration/drone/pr - Build failing?

avatar HLeithner
HLeithner - comment - 20 May 2019

Can you please rebase this for j4, thx

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 May 2019

closed for rebase on j4.

avatar franz-wohlkoenig franz-wohlkoenig - close - 20 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 May 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-05-20 10:50:35
Closed_By franz-wohlkoenig
Labels Added: ?
avatar brianteeman
brianteeman - comment - 20 May 2019

@HLeithner It would be really helpful if you could explain to the person who took the time to submit a pull request why you have closed this and asked for it to be rebased for Joomla 4.

Add a Comment

Login with GitHub to post a comment