branch | 3.5 |
changeset 3038 | 1261c3df0e5a |
parent 2991 | dab951c08896 |
child 3377 | dd9d292b6a6d |
child 3528 | 77a69de16709 |
--- a/entities/wfobjs.py Thu Aug 27 16:57:22 2009 +0200 +++ b/entities/wfobjs.py Thu Aug 27 16:58:20 2009 +0200 @@ -303,7 +303,8 @@ @property def workflow(self): - return self.state_of[0] + # take care, may be missing in multi-sources configuration + return self.state_of and self.state_of[0] def after_deletion_path(self): """return (path, parameters) which should be used as redirect