VTModuleDesigner icon indicating copy to clipboard operation
VTModuleDesigner copied to clipboard

JSON-Error when clicking edit on a field

Open brundles opened this issue 10 years ago • 10 comments

I'm using VT6.1 + newest version of Module Designer.

Problem:

JSON-Error when clicking edit on a field

How to reproduce:

I'm creating a module, and after i create a field, I double-click it (Assuming this is how to edit the existing parameters?) and i then get this JSON error: http://screencast.com/t/ps30tckXAHCV

brundles avatar Jan 03 '15 14:01 brundles

This error is caused by bad url params. Can you use a console (like Firebug) and share the url called by the system when you double click on a field?

sardoj avatar Jan 03 '15 14:01 sardoj

Ok - I'm just debugging a little and will get back to you shortly!

brundles avatar Jan 03 '15 14:01 brundles

Here is the screenshot (w. chrome inspector enabled): http://screencast.com/t/rGai8245

And this is the full request: http://pastebin.com/

brundles avatar Jan 03 '15 14:01 brundles

I can send you my module also if you want it?

brundles avatar Jan 03 '15 14:01 brundles

Yes send it to me please.

sardoj avatar Jan 03 '15 14:01 sardoj

Hi there,

This is actually still an issue - i've tried it on 3 completely different servers, and i still get same issue.

This across all modules, both newly created and existing (accounts + contacts tested) modules.

As the module is working on your server, I'm assuming its some kind of installation or browser related issue.

I've verified that Magic quotes are turned off + I've applied the patch supplied.

What can i do next? I can see that other people are experiencing the same thing, and the module is loosing some of its otherwise genius functionality if you cannot edit the fields :-(

Thank you!

brundles avatar May 24 '16 10:05 brundles

Hi Brundles.

I got a similar issue on my module, and it was because a huge picklist.

I had too many entries in my DB for one picklist and the created URL was too long

Can you check if you have some big picklists in your database ?

GrisonDavid avatar May 26 '16 09:05 GrisonDavid

Hi there,

It is both when i open existing modules, or when i create a 100% new module and want to edit the very first text-field i enter.

Ie. i dont think its related to the size of the contents - but would actually assume its somehow related to some configurational issue.

I earlier had @sardoj look at a module, and he could edit fields in it without problems; I have 3 different installations where i however cannot, and get the same JSON error on all :-(

brundles avatar May 28 '16 06:05 brundles

Sill getting this - any update? :-/

brundles avatar Mar 16 '17 15:03 brundles

Hello,

Are you using Apache or Nginx? I had the same problem with Nginx and I fixed it incresing the value of "client_max_body_size" paramater: Ex : client_max_body_size 10M;

This problem exists because when you edit a field the URL is too long.

sardoj avatar Mar 17 '17 08:03 sardoj