[Vtigercrm-developers] Migration Script

Alan Lord (News) alanslists at gmail.com
Wed Aug 19 12:34:47 GMT 2015


Think I've found another...

same file (600_to_610.php) line 170:

> //Start: Moving Entity methods of Tickets to Workflows
> $result = $adb->pquery('SELECT DISTINCT workflow_id FROM com_vtiger_workflowtasks WHERE workflow_id IN
>                                 (SELECT workflow_id FROM com_vtiger_workflows WHERE module_name IN (?) AND defaultworkflow = ?)
>                                 AND task LIKE ?', array($moduleName, 1, '%VTEntityMethodTask%'));

See the var in the query params "$moduleName"? I do not believe that it 
is set. It doesn't exist anywhere before this line in this file... 
That's about 500 lines of code that won't get run I think.

Alan


-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list