[Vtigercrm-developers] Serious bug in workflow setup, wrong workflow entity - task entity assigns - vtiger 6.1 SVN 14176
Holbok István
holbok at gmail.com
Sat Aug 9 13:34:07 GMT 2014
Dear vtiger Team,
There is a file in ...\modules\Install\models\InitSchema.php that will
populate at the install e.g. default workflow settings.
About line 941 starts a static function *populateDefaultWorkflows($adb)*.
At line 1032 starts the section to populate "*Send Email to user when
Portal User is True*" workflow.
The workflow entity is created well, but a WRONG task assigned for this
entity: "An contact has been created ..." with NotifyOwner method.
The proper task to send out user login credentials to the portal appears
few lines later about line 1096.
And this task is assigned to the WRONG workflow entity also: "Workflow
for Contact Creation or Modification".
The wrong assignment of tasks and workflows appears in the proper
database tables as well.
com_vtiger_workflows -> at workflow_id = 4
com_vtiger_workflowtasks -> at task_id = 4, 6 & workflow_id = 4, 6
I did not check all possible wrong task placement, so if you will
correct it, please review the other workflows -> task assignment also.
Kindest regards:
István
--
üdvözlettel:
*Holbok István*
+3670-342-0900
*e-mail:* holbok at gmail.com
*SkyPe:* holboki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140809/001b7159/attachment.html>
More information about the vtigercrm-developers
mailing list