Changeset 1547 for WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py
- Timestamp:
- 14 Mar 2007, 20:42:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py
r1515 r1547 73 73 if callable(real_object) and hasattr(real_object,'im_self'): 74 74 real_object = real_object.im_self 75 75 76 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 77 80 break 81 82 # can be replaced by students_catalog values 78 83 sc = getattr(real_object,'study_course',None) 79 84 if sc is None: … … 89 94 90 95 91 # temporary sel -healing function96 # temporary self-healing function 92 97 # deprecated after reindexing the students_catalog 93 98 student_id = self.getStudentId() … … 98 103 faculty = fac_id, 99 104 department = dep_id, 105 course = sc_obj.study_course, 100 106 ) 101 107
Note: See TracChangeset for help on using the changeset viewer.