MT-83: The assignment method and configuration travels with the assignment rules objects.

This commit is contained in:
Gustavo Adolfo Cruz Laura
2016-04-01 16:51:30 -04:00
parent afc52521ce
commit 29fda7d493

View File

@@ -74,10 +74,10 @@ class AssignmentRulesMigrator implements Importable, Exportable
{
try {
$oAssignRules = new \StdClass();
$oAssignRulesTasks = $this->processes->getTaskRows($prj_uid);
$oAssignRules->taskusers = $this->processes->getTaskUserRows($oAssignRulesTasks);
$oAssignRules->tasks = $this->processes->getTaskRows($prj_uid);
$oAssignRules->taskusers = $this->processes->getTaskUserRows($oAssignRules->tasks);
//groups - task
$oDataTaskUsers = $this->processes->getTaskUserRows($oAssignRulesTasks);
$oDataTaskUsers = $this->processes->getTaskUserRows($oAssignRules->tasks);
$oAssignRules->groupwfs = $this->processes->getGroupwfRows($oDataTaskUsers);
$result = array(