[Vtigercrm-developers] v7 dev release. What is the purpose of the vtiger_modulename_user_field tables?

Satish Dvnk satish.dvnk at vtiger.com
Tue Dec 13 10:21:40 GMT 2016


Yes Alan, this table was added to support "Star" feature.

"Why is this not in the Record or Module model?"

As we know $focus is representative for module tables and its information.
So neither recordmodel nor modulemodel will not be having this information.


*regards,Satish.Dvnk*

On Tue, Dec 13, 2016 at 3:29 PM, Alan Lord <alanslists at gmail.com> wrote:

> OK - I think it is for this "Star" feature.
>
> If you click the star icon on a list view record, the action class
> Vtiger_SaveStar_Action fails to work but it does return a "Success" message
> over the Ajax call.
>
> Tue Dec 13 09:50:42 2016,242 [8573] INFO VT - function
>> insertIntoEntityTable Accounts vtiger_table name vtiger_accounts_user_field
>> Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query being
>> executed : select recordid from vtiger_accounts_user_field where recordid=?
>> AND userid=?
>> Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query
>> parameters : [71,1]
>> Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query being
>> executed : select fieldname,columnname,uitype,generatedtype,
>>
>>       typeofdata from vtiger_field where tabid in (?) and tablename=? and
>> displaytype in (1,3,6) and presence in (0,2) group by columnname
>> Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query
>> parameters : [6,vtiger_accounts_user_field]
>> ~
>>
>
> Also, in this Action class using the "old" $focus object seems a bit odd
> to me too. Why is this not in the Record or Module model?
>
> Al
>
>
>
> On 13/12/16 09:48, Alan Lord wrote:
>
>> Please see
>>
>> http://code.vtiger.com/vtiger/vtigercrm/issues/336
>>
>> for more info.
>>
>> TIA
>>
>> Al
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20161213/40c0c0a7/attachment.html>


More information about the vtigercrm-developers mailing list