<div dir="ltr"><div>Yes Alan, this table was added to support "Star" feature.<br><br>"Why is this not in the Record or Module model?"<br><br></div><div>As we know $focus is representative for module tables and its information. So neither recordmodel nor modulemodel will not be having this information.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><span style="font-family:verdana,sans-serif"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)">regards,</span></span><br>Satish.Dvnk</span></b><br></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 13, 2016 at 3:29 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK - I think it is for this "Star" feature.<br>
<br>
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.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tue Dec 13 09:50:42 2016,242 [8573] INFO VT - function insertIntoEntityTable Accounts vtiger_table name vtiger_accounts_user_field<br>
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=?<br>
Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query parameters : [71,1]<br>
Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query being executed : select fieldname,columnname,uitype,ge<wbr>neratedtype,<br>
                                                                                typeofdata from vtiger_field where tabid in (?) and tablename=? and displaytype in (1,3,6) and presence in (0,2) group by columnname<br>
Tue Dec 13 09:50:42 2016,243 [8573] DEBUG VT - Prepared sql query parameters : [6,vtiger_accounts_user_field]<br>
~<br>
</blockquote>
<br>
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?<br>
<br>
Al<div><div class="h5"><br>
<br>
<br>
On 13/12/16 09:48, Alan Lord wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please see<br>
<br>
<a href="http://code.vtiger.com/vtiger/vtigercrm/issues/336" rel="noreferrer" target="_blank">http://code.vtiger.com/vtiger/<wbr>vtigercrm/issues/336</a><br>
<br>
for more info.<br>
<br>
TIA<br>
<br>
Al<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
</blockquote>
<br>
<br></div></div>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>