Sun Mar 13 09:52:17 2016,576 [1878] DEBUG index - Prepared sql query being executed : UPDATE vte_customview SET setdefault = 0 WHERE setdefault = 1 AND entitytype = ? AND userid = ?
Sun Mar 13 09:52:17 2016,577 [1878] DEBUG index - Prepared sql query parameters : [Leads,1]
Sun Mar 13 09:52:17 2016,577 [1878] DEBUG index - Prepared sql query being executed : UPDATE vte_customview SET viewname = ?, setdefault = ? , setmetrics = ?, setmobile = ?, status = ?, reportid = ? WHERE cvid = ?
Sun Mar 13 09:52:17 2016,577 [1878] DEBUG index - Prepared sql query parameters : [Tutti i Lead,1,0,1,3,,57]
Sun Mar 13 09:52:17 2016,578 [1878] INFO VT - PearDatabase ->ADODB error Query Failed:UPDATE vte_customview SET viewname = 'Tutti i Lead', setdefault = 1 , setmetrics = 0, setmobile = 1, status = '3', reportid = '' WHERE cvid = 57::->[1366]Incorrect integer value: '' for column 'reportid' at row 1
Sun Mar 13 09:52:17 2016,578 [1878] INFO index - CustomView :: Save :: vte_customview upated successfully57
dont know why i have to add this code to save.php inside modules/customview/ maybe a better solution is set default value to reportid column
if ( isset($_REQUEST) && $_REQUEST!="")
$reportid = $_REQUEST; //crmv@31775
else
$reportid = 0;
Andrea