Ignore:
Timestamp:
18 May 2007, 10:52:31 (18 years ago)
Author:
Henrik Bettermann
Message:

some fixes to display the correct object actions
also one fix regarding ticket #214

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py

    r1794 r1796  
    8181if res:
    8282    student_id = res[0].id
    83     student_obj = getattr(context.portal_url.getPortalObject().campus.students,student_id,None)
     83
     84    #There was one student with empty id in returning_import (BMS0406035)
     85    student_obj = None
     86    if student_id:
     87        student_obj = getattr(context.portal_url.getPortalObject().campus.students,student_id,None)
     88    else:
     89        registered = ' '
     90
    8491    if student_obj and hasattr(student_obj,'application'):
    8592        registered = student_id
Note: See TracChangeset for help on using the changeset viewer.