[Vtigercrm-developers] Multiple uitype 10 in custom module
Richard Hills
richard at tw.co.nz
Sun Feb 3 19:34:24 PST 2013
Yes I've searched everything I had access to and didn't find it
unfortunately. Thanks for the reply, at least I can be sure its not just
a problem for me. I have decided to simply not use the two uitype 10
items for now, however hope to find time to look into this later on in
the month.
On 04/02/13 15:42, Adam Heinz wrote:
> Search the mailing list archives on gmane or whatever. I'm positive this has come up before.
>
> Adam
>
> On Feb 3, 2013, at 9:31 PM, Richard Hills <richard at tw.co.nz> wrote:
>
>> 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
>>
>> _______________________________________________
>> http://www.vtiger.com/
> _______________________________________________
> http://www.vtiger.com/
--
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