Ignore:
Timestamp:
14 Mar 2007, 20:42:00 (18 years ago)
Author:
Henrik Bettermann
Message:

Ticket #113

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py

    r1515 r1547  
    7373        if callable(real_object) and hasattr(real_object,'im_self'):
    7474            real_object = real_object.im_self
     75
    7576        if hasattr(real_object,'portal_type') and\
    76                    real_object.portal_type not in ("Student","StudentClearance","StudentStudyLevel"):
     77                   real_object.portal_type not in ("Student",):
     78                   #real_object.portal_type not in ("Student","StudentClearance","StudentStudyLevel"):
     79                   
    7780            break
     81
     82        # can be replaced by students_catalog values
    7883        sc = getattr(real_object,'study_course',None)
    7984        if sc is None:
     
    8994
    9095
    91         # temporary sel-healing function
     96        # temporary self-healing function
    9297        # deprecated after reindexing the students_catalog
    9398        student_id = self.getStudentId()
     
    98103                                                faculty = fac_id,
    99104                                                department = dep_id,
     105                                                course = sc_obj.study_course,
    100106                                                )
    101107
Note: See TracChangeset for help on using the changeset viewer.