[Vtigercrm-commits] [Vtiger development] #8280: Webforms fields are not saved.
Vtiger development
vtiger-tickets at trac.vtiger.com
Thu Oct 9 06:34:26 GMT 2014
#8280: Webforms fields are not saved.
-----------------------+------------------------
Reporter: jgarces | Owner: developer
Type: defect | Status: closed
Priority: major | Milestone: 6.2.0
Component: vtigercrm | Version: 6.1.0
Severity: High | Resolution: fixed
Keywords: Webforms |
-----------------------+------------------------
Changes (by rishab):
* status: new => closed
* resolution: => fixed
Comment:
Works well with fresh install of Vtiger 6.1.0 .
Show create table of vtiger_webforms_field shows:
{{{
vtiger_webforms_field | CREATE TABLE `vtiger_webforms_field` (
`id` int(19) NOT NULL AUTO_INCREMENT,
`webformid` int(19) NOT NULL,
`fieldname` varchar(50) NOT NULL,
`neutralizedfield` varchar(50) NOT NULL,
`defaultvalue` varchar(200) DEFAULT NULL,
`required` int(10) NOT NULL DEFAULT '0',
`sequence` int(10) DEFAULT NULL,
`hidden` int(10) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `webforms_webforms_field_idx` (`id`),
KEY `fk_1_vtiger_webforms_field` (`webformid`),
KEY `fk_2_vtiger_webforms_field` (`fieldname`),
CONSTRAINT `fk_1_vtiger_webforms_field` FOREIGN KEY (`webformid`)
REFERENCES `vtiger_webforms` (`id`) ON DELETE CASCADE,
CONSTRAINT `fk_3_vtiger_webforms_field` FOREIGN KEY (`fieldname`)
REFERENCES `vtiger_field` (`fieldname`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=238 DEFAULT CHARSET=utf8 |
}}}
as Engine type is InnoDB {{{'fieldname'}}} of {{{vtiger_webforms_field}}}
can refer {{{'fieldname'}}} of {{{vtiger_field}}} which has a constraint
of {{{NOT NULL}}}
Refrer:[[http://dev.mysql.com/doc/refman/5.6/en/innodb-foreign-key-
constraints.html]]
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8280#comment:3>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list