Back to Feedback Support

dwvcfii12090
dwvcfii12090

just installed Feedback plugin on a relatively new October installation, running on top of Postgres.

Navigated to the page:

Backend -> Settings -> Feedback -> Manage Channels

Entered some basic data (did not touch the Template data) and checked "DO NOT save feedback in database".

Clicked save and got the following error in a popup dialog:

"SQLSTATE[22001]: String data, right truncated: 7 ERROR:
value too long for type character varying(255) (SQL: update
"ebussola_feedback_channels" set "updated_at" = 2015-11-16
18:40:21, "name" = Contact, "code" = contact,
"prevent_save_database" = 1, "method_data" = 
{"email_destination":"xxx@mydomain.com","subject":"Contact 
Request","template":"<h1>You have just received a feedback 
from your site!<\/h1>\r\n<p>\r\n Here is the contact 
information: {{ name }} &lt;<a href=\"mailto:{{ email }}\">{{ email 
}}<\/a>&gt; <br>\r\n<\/p>\r\n\r\n<h2>The message:<\/h2>
\r\n<p>{{ message }}<\/p>","channels":"0"} where "id" = 1)" on 
line 624 of /home/user/october/vendor/laravel/framework
/src/Illuminate/Database/Connection.php

Also confirmed that simply navigating to that page and clicking save produces the same result, so the problem doesn't have anything to do with the data I've entered.

Last updated

shina
shina

Hi, thanks for your report.

You are right, the field method_data should be text, not varchar(255).

When I fix it I'll let you know here.

shina
shina

Hey dwvcfii12090,

this issue is fixed on 1.3.1. Please let me know if you have another problem.

octubreprofavor
octubreprofavor

I have just installed your plugin and I'm getting this exact error on installation I'm afraid. The method_data column is still varchar(255).

shina
shina

Hello, I'm sure this is fixed on version 1.3.2

What error are you getting? How to reproduce it?

1-5 of 5