[Vtigercrm-developers] Multiple uitype 10 in custom module
Richard Hills
richard at tw.co.nz
Sun Feb 3 18:31:51 PST 2013
Hi Guys,
When I try to create a module with 2x uitype 10 I get the following
error (on the second occurance of the field type):
> Setting RelatedToCustomModule relation with TWTCustomModule ...
> DONE<BR><pre>array (
> 0 =>
> array (
> 'file' => '/html/include/database/PearDatabase.php',
> 'line' => 474,
> 'function' => 'checkError',
> ),
> 1 =>
> array (
> 'file' => '/html/vtlib/Vtiger/ModuleBasic.php',
> 'line' => 299,
> 'function' => 'pquery',
> ),
> 2 =>
> array (
> 'file' => '/html/customRoleModule.php',
> 'line' => 70,
> 'function' => 'setEntityIdentifier',
> ),
> )</pre> Query Failed:INSERT INTO vtiger_entityname(tabid, modulename,
> tablename, fieldname, entityidfield, entityidcolumn)
> VALUES(?,?,?,?,?,?)::ADODB error Query Failed:INSERT INTO
> vtiger_entityname(tabid, modulename, tablename, fieldname,
> entityidfield, entityidcolumn) VALUES(?,?,?,?,?,?)::->Duplicate entry
> '53' for key 'PRIMARY
I assume this is a bug, however if anyone can suggest a workaround, or
simply disprove that this has something to do with the double up of
uitype 10 that would be much appreciated.
Thank you
--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
richard at tw.co.nz
www.technologywise.co.nz
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061
More information about the vtigercrm-developers
mailing list