Ignore:
Timestamp:
7 May 2012, 05:16:39 (13 years ago)
Author:
Henrik Bettermann
Message:

Do not fire init transition when state has been imported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r8335 r8375  
    306306    role_manager.assignRoleToPrincipal(
    307307        'waeup.Applicant', applicant.applicant_id)
    308     IWorkflowInfo(applicant).fireTransition('init')
     308    if applicant.state is None:
     309        IWorkflowInfo(applicant).fireTransition('init')
    309310
    310311    # Assign global applicant role for new applicant (alternative way)
Note: See TracChangeset for help on using the changeset viewer.