Ignore:
Timestamp:
29 Sep 2011, 07:13:26 (13 years ago)
Author:
Henrik Bettermann
Message:

Fire transition after student has been added. Otherwise we don't see the student id in the logfile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/container.py

    r6695 r6830  
    2121from zope.component.interfaces import IFactory
    2222from zope.securitypolicy.interfaces import IPrincipalRoleManager
     23from hurry.workflow.interfaces import IWorkflowInfo
    2324from waeup.sirp.interfaces import IUserAccount
    2425from waeup.sirp.students.interfaces import (
     
    6566            'waeup.local.StudentRecordOwner', student.student_id)
    6667        # Return student_id (only needed in tests)
     68        IWorkflowInfo(self[student.student_id]).fireTransition('create')
    6769        return student.student_id
    6870
Note: See TracChangeset for help on using the changeset viewer.