Jump to content


Photo

[Workflow] Editing Project workflow throws exception

workflow project projects exception email message onsave

  • Please log in to reply
No replies to this topic

#1 riwern

riwern

    Member

  • Members
  • PipPip
  • 16 posts

Posted 06 March 2015 - 02:06 PM

 
When editing an existing workflow based on Project module the application throws and exception for the following condition:
- Workflow is set to email related Account owner
- Template is Account based (haven't tried anything else)
 
 
The following exception (NotSupportedException) is thrown:

<..>/zurmo/app/protected/modules/workflows/forms/recipients/DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.php(234)

            elseif ($modelClassName::getInferredRelationModelClassNamesForRelation(
                   ModelRelationsAndAttributesToWorkflowAdapter::resolveRealAttributeName($this->relation)) !=  null)
            {
                return ModelRelationsAndAttributesToWorkflowAdapter::getInferredRelationModelClassName($this->relation);
            }
            elseif ($modelClassName::isRelationTypeAHasManyVariant($this->relation) ||
                   $modelClassName::isRelationTypeAHasOneVariant($this->relation))
            {
                return $modelClassName::getRelationModelClassName($this->relation);
            }
            else
            {
                throw new NotSupportedException();
            }
        }
    }
?> 

Does this have anything today with not being able to select Project based email templates?

Not sure on where to go from here...

 

Any ideas?

 







Also tagged with one or more of these keywords: workflow, project, projects, exception, email, message, onsave

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users