Ignore:
Timestamp:
8 Aug 2008, 06:39:00 (16 years ago)
Author:
Henrik Bettermann
Message:

change permissions

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/getClearanceInfo.py

    r3455 r3619  
    6262info['review_state'] = student_record.review_state
    6363info['app'] = student.application
    64 info['app_doc'] = student.application.getContent()
     64try:
     65    info['app_doc'] = student.application.getContent()
     66except:
     67    return
    6568info['clear'] = student.clearance
    66 info['clear_doc'] = student.clearance.getContent()
     69try:
     70    info['clear_doc'] = student.clearance.getContent()
     71except:
     72    return   
    6773info['clear_review_state'] = wf.getInfoFor(student.clearance,'review_state',None)
    6874info['per'] = student.personal
  • WAeUP_SRP/base/skins/waeup_student/getStudyCourseInfo.py

    r3072 r3619  
    4242info['action'] = "%s" % context.absolute_url()
    4343info['choosen_ids'] = request.get('ids',[])
    44 course  = info['doc'] = context.getContent()
     44try:
     45    course  = info['doc'] = context.getContent()
     46except:
     47    return None
    4548#student_id = context.getStudentId()
    4649student_record = context.students_catalog.getRecordByKey(student_id)
Note: See TracChangeset for help on using the changeset viewer.