[Vtigercrm-commits] [Vtiger development] #8189: Webforms Not Saving Fields But Happily Deleting Them

Vtiger development vtiger-tickets at trac.vtiger.com
Fri Aug 22 18:47:42 GMT 2014


#8189: Webforms Not Saving Fields But Happily Deleting Them
-----------------------+-------------------------
 Reporter:  kharding   |      Owner:  developer
     Type:  defect     |     Status:  new
 Priority:  critical   |  Milestone:  Unassigned
Component:  vtigercrm  |    Version:  6.1.0 - wip
 Severity:  Critical   |   Keywords:  webforms
-----------------------+-------------------------
 Hi there. Fresh install of 6.1.0 installed from an SVN download.

 Tried to add fields to a webform. Noted that the vtiger_webforms_field
 table is not created during install (similar to 6.0.0). I created the
 table as a first attempt to try and be able to create the fields, as noted
 in the second comment here:
 https://discussions.vtiger.com/index.php?p=/discussion/168433/webforms-
 broken-in-vtiger-v6/p1

 This doesn't change the problem.  When editing a webform, the following
 error is displayed a number of times above the field list and in the
 picklist for adding fields:

 Warning: array_key_exists() expects parameter 2 to be array, null given in
 /home/USER/public_html/c/test/templates_c/vlayout/c2a70fdddd7ccf4dd73dc9b9e5bf6ba0ccbfdd62.file.FieldsEditView.tpl.php
 on line 80

 When clicking "Show Form" this error is viewed:

 Warning: Invalid argument supplied for foreach() in
 /home/USER/public_html/c/modules/Settings/Webforms/views/ShowForm.php on
 line 33

 What did solve the problem:

 - Completely wiping the DB
 - Reinstalling from SVN
 - Inserting the table from ticket 8064 *before* creating any webforms:
 http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8064
 - Creating a webform with multiple fields

 Somewhere there's something that doesn't like it when you try to fix this
 non-existent vtiger_webforms_field after you've tried to create the field.
 A caching issue?

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8189>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list