<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body smarttemplateinserted="true" text="#000000" bgcolor="#FFFFFF">
    Dear vtiger Team,<br>
    <br>
    There is a file in ...\modules\Install\models\InitSchema.php that
    will populate at the install e.g. default workflow settings.<br>
    About line 941 starts a static function <b>populateDefaultWorkflows($adb)</b>.<br>
    <br>
    At line 1032 starts the section to populate "<b>Send Email to user
      when Portal User is True</b>" workflow.<br>
    The workflow entity is created well, but a WRONG task assigned for
    this entity: "An contact has been created ..." with NotifyOwner
    method.<br>
    <br>
    The proper task to send out user login credentials to the portal
    appears few lines later about line 1096.<br>
    And this task is assigned to the WRONG workflow entity also:
    "Workflow for Contact Creation or Modification".<br>
    <br>
    <br>
    The wrong assignment of tasks and workflows appears in the proper
    database tables as well.<br>
    com_vtiger_workflows -> at workflow_id = 4<br>
    com_vtiger_workflowtasks -> at task_id = 4, 6 & workflow_id =
    4, 6<br>
    <br>
    I did not check all possible wrong task placement,  so if you will
    correct it, please review the other workflows -> task assignment
    also.<br>
    <br>
    Kindest regards:<br>
    István<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      üdvözlettel:<br>
      <br>
      <b>Holbok István</b><br>
      <br>
      +3670-342-0900<br>
      <b>e-mail:</b> <a class="moz-txt-link-abbreviated" href="mailto:holbok@gmail.com">holbok@gmail.com</a><br>
      <b>SkyPe:</b> holboki<br>
      <br>
    </div>
  </body>
</html>