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

Alan Lord alanslists at gmail.com
Tue Dec 13 09:59:45 GMT 2016


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/
>




More information about the vtigercrm-developers mailing list