- Timestamp:
- 25 May 2007, 14:00:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/create_level.py
r1822 r1823 53 53 else: 54 54 context.invokeFactory('StudentStudyLevel',"%s" % current_level) 55 logger.info('%s createdlevel %s' % (student.id,current_level))55 logger.info('%s started to create level %s' % (student.id,current_level)) 56 56 level = getattr(context,"%s" % current_level) 57 57 context.portal_workflow.doActionFor(level,'open') … … 102 102 context.portal_workflow.doActionFor(course_result,'open') 103 103 course_result.getContent().edit(mapping=d) 104 #context.waeup_tool.doCommit() 104 105 #level['create_course_results'](cert_id,current_level) 105 106 res = context.portal_catalog(portal_type="Certificate", id = cert_id) … … 119 120 d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective') 120 121 course_result.getContent().edit(mapping=d) 121 122 #context.waeup_tool.doCommit() 123 logger.info('%s finished to create level %s' % (student.id,current_level)) 122 124 return response.redirect("%s/%s" % (context.absolute_url(),current_level)) 123 125
Note: See TracChangeset for help on using the changeset viewer.