Changeset 2727
- Timestamp:
- 21 Nov 2007, 14:12:30 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 2 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2716 r2727 757 757 "create Datastructure for an admitted Student" 758 758 #import pdb;pdb.set_trace() 759 if not hasattr(self,"_v_certificates"): 760 self._v_certificates = [entry[0] for entry in self.getCertificatesVoc()] 759 761 students_folder = self.portal_url.getPortalObject().campus.students 760 762 logger = logging.getLogger('WAeUPTool.admitOneStudent') … … 765 767 if len(pin_parts) != 3: 766 768 logger.info('invalid pin %s for %s' % (brain.pin,brain.reg_no)) 769 return 770 if brain.course_admitted not in self._v_certificates: 771 logger.info('certificate %s not found for %s' % (brain.course_admitted,brain.reg_no)) 767 772 return 768 773 student_id = self.generateStudentId('?') -
WAeUP_SRP/base/skins/waeup_student/admitStudents.py
r2671 r2727 52 52 context.waeup_tool.doCommit() 53 53 logger.info("Committing %s transactions, total %s" % (commit_after,count)) 54 # cocount += 155 # if cocount > 1:56 # break54 # cocount += 1 55 # if cocount > 1: 56 # break 57 57 brain = aq_applicants(Eq('reg_no',reg_no))[0] 58 58 #logger.info("start creating objects of student %s" % (brain.reg_no)) … … 64 64 admitted += 1 65 65 else: 66 logger.info("could not create objects of student %s with pin " % (reg_no,brain.pin))66 logger.info("could not create objects of student %s with pin %s" % (reg_no,brain.pin)) 67 67 68 68 msg = "finished admitting %d students" % (admitted) -
WAeUP_SRP/uniben/profiles/default/vocabularies.xml
r2632 r2727 17 17 <object name="get_departments_voc" meta_type="CPS Method Vocabulary"/> 18 18 <object name="get_faculties_voc" meta_type="CPS Method Vocabulary"/> 19 <object name="get_certificates_voc" meta_type="CPS Method Vocabulary"/> 19 20 <object name="groups_voc" meta_type="CPS Method Vocabulary"/> 20 21 <object name="waeup_bed_letters" meta_type="CPS Vocabulary"/> … … 28 29 <object name="religion" meta_type="CPS Vocabulary"/> 29 30 <object name="sessions" meta_type="CPS Method Vocabulary"/> 31 <object name="payment_types" meta_type="CPS Vocabulary"/> 32 <object name="payment_status" meta_type="CPS Vocabulary"/> 30 33 <object name="exam_types" meta_type="CPS Vocabulary"/> 31 34 <object name="pin_prefixes" meta_type="CPS Vocabulary"/> -
WAeUP_SRP/uniben/profiles/default/vocabularies/get_departments_voc.xml
r1449 r2727 5 5 <property name="title_msgid"></property> 6 6 <property name="description"></property> 7 <property name="get_vocabulary_method">get _departments_voc</property>7 <property name="get_vocabulary_method">getDepartmentsVoc</property> 8 8 <property name="add_empty_key">False</property> 9 9 <property name="empty_key_pos">first</property> -
WAeUP_SRP/uniben/profiles/default/vocabularies/get_faculties_voc.xml
r1449 r2727 5 5 <property name="title_msgid"></property> 6 6 <property name="description"></property> 7 <property name="get_vocabulary_method">get _faculties_voc</property>7 <property name="get_vocabulary_method">getFacultiesVoc</property> 8 8 <property name="add_empty_key">False</property> 9 9 <property name="empty_key_pos">first</property>
Note: See TracChangeset for help on using the changeset viewer.