Closed (fixed)
Project:
Webform
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Nov 2004 at 18:16 UTC
Updated:
14 Nov 2004 at 15:06 UTC
If a description is entered that is longer than 57 characters in the textarea edit screen, the width, height and Description aren't saved during submitting. The preview works fine though.
Comments
Comment #1
pegmonkey commentedI changed the table webform_component "extra" field from type varchar(128) to varchar(255) and it seems to work up to the maximum allowed field entry length on the submission form.
Comment #2
ullgren commentedDid you update from a previous webform version or is this a fresh install.
If fresh install when did you do it (or rather when did you download the .mysql file).
Comment #3
(not verified) commentedIt's an update from a previous install. I went from 4.4.0 to 4.5.0 just today. I created a fresh directory for 4.5 as recommended. Then I installed the appropriate upgraded modules. In regards to the webform module, I had been using the 4.4.0 version and after installing the 4.5 version I went to /admin/settings/webform and ran the upgrade link. It stated that it complete successfully. I just grabbed the 4.5 version today. I didn't think to check the upgrade script... hmm can't find the upgrade script, I see a path 'webform/upgrade' in the module file, but there is no such directory in the tar file I downloaded.. Of course, I'm not much of a programmer so I may really have no clue about that. :) Ok, the webform.mysql file says that the "extra" field should be text. When I look at the DB it is not text it was varchar(128), I changed it to varchar(255) but if I'd have thought to look at the mysql file I could have done it right. :)
Comment #4
pegmonkey commentedsorry, forgot to log in on that last post.. it was me. :)
Comment #5
ullgren commentedOk the update function (_webform_update) did not change the webform_component "extra" field to text (as it should do).
Also the "data" field in webform_submited should also be changed from blob to longtext.
I've changed the update function now but you (and others that allready have upgraded) may need to do these changes by hand.
Comment #6
pegmonkey commentedNot sure if this will help.. I remember that the upgrade script said it could not determine my previous version.. or at least previous version showed up as being "unknown". But I remember seeing ok after it was done.
Comment #7
pegmonkey commentedI posted that last one while you were typing your reply.. Thanks for the quick reply.. Webform Module rocks btw. Thanks again.
Comment #8
ullgren commentedThe update is now in the distribution.
Closing this issue.