Changeset 8375
- Timestamp:
- 7 May 2012, 05:16:39 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py
r8335 r8375 306 306 role_manager.assignRoleToPrincipal( 307 307 'waeup.Applicant', applicant.applicant_id) 308 IWorkflowInfo(applicant).fireTransition('init') 308 if applicant.state is None: 309 IWorkflowInfo(applicant).fireTransition('init') 309 310 310 311 # Assign global applicant role for new applicant (alternative way) -
main/waeup.kofa/trunk/src/waeup/kofa/students/student.py
r8323 r8375 156 156 message. 157 157 """ 158 state = IWorkflowState(student).getState() 159 if state == CLEARANCE: 158 if student.state == CLEARANCE: 160 159 student.clearance_locked = False 161 160 else: … … 174 173 role_manager.assignRoleToPrincipal( 175 174 'waeup.local.StudentRecordOwner', student.student_id) 176 if st ate is None:175 if student.state is None: 177 176 IWorkflowInfo(student).fireTransition('create') 178 177 return
Note: See TracChangeset for help on using the changeset viewer.