?
avatar tobias-wedel
tobias-wedel
17 Mar 2017

Steps to reproduce the issue

I build my own plugin and i need to save a lot (And i mean a lot!) text in a textarea. It seems that if i save to much text that this error occur: Error decoding JSON data: Control character error, possibly incorrectly encoded

I tried it with different extensions like modules and put a lot of text in a textarea. This error occur always.

System information (as much as possible)

Joomla 3.6.5

avatar tobias-wedel tobias-wedel - open - 17 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Mar 2017
avatar tobias-wedel tobias-wedel - edited - 17 Mar 2017
avatar brianteeman
brianteeman - comment - 17 Mar 2017

How much is a lot? Is it more than the size of the database field?

On 17 Mar 2017 4:54 p.m., "Tobias Wedel" notifications@github.com wrote:

Steps to reproduce the issue

I build my own plugin and i need to save a lot (And i mean a lot!) of text
in a textarea. It seems that if i save to much text that this error occur: Error
decoding JSON data: Control character error, possibly incorrectly encoded

I tried it with different extensions like modules and put a lot of text in
a textarea. This error occur always.
Expected result Actual result System information (as much as possible) Additional
comments


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14700, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8X0JLosg8aAld5jfqrB_2xn32jEiks5rmrrBgaJpZM4Mg153
.

avatar tobias-wedel tobias-wedel - edited - 17 Mar 2017
avatar tobias-wedel
tobias-wedel - comment - 17 Mar 2017

I just checked it out and it seems that its more than the size of the database field. It cuts the params value. Is there a way to handle the size?

avatar tonypartridge
tonypartridge - comment - 19 Mar 2017

Hello,

You will need to setup your own table and extend JForm to use this new form and save to The new database.

It sounds like you may be better using a component and having the plugin interact with the component if your saving that much data.

Many thanks
Tony

avatar brianteeman
brianteeman - comment - 20 Mar 2017

Closed as its not a bug

avatar brianteeman brianteeman - change - 20 Mar 2017
The description was changed
Title
Textarea with a lot of characters produce error
Textarea with a lot characters produce error
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-20 09:25:43
Closed_By brianteeman
avatar brianteeman brianteeman - close - 20 Mar 2017

Add a Comment

Login with GitHub to post a comment