Ignore:
Timestamp:
1 May 2008, 05:53:28 (16 years ago)
Author:
Henrik Bettermann
Message:

fix addStudent (fetch dictionary correctly)

remove Title completely (Title was still indexed in portal_catalog)

remove Title method from PaymentsFolder? class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPImport.py

    r3431 r3481  
    672672                      'StudentApplication':
    673673                          {'id': 'application',
    674                            'title': 'Application Data',
     674                           #'title': 'Application Data',
    675675                           'wf_transition_return': 'close',
    676676                           'wf_transition_admit': 'remain',
     
    698698                      'StudentClearance':
    699699                          {'id': 'clearance',
    700                            'title': 'Clearance/Eligibility Record',
     700                           #'title': 'Clearance/Eligibility Record',
    701701                           'wf_transition_return': 'close',
    702702                           'wf_transition_admit': 'remain',
     
    710710                         'StudentPersonal':
    711711                          {'id': 'personal',
    712                            'title': 'Personal Data',
     712                           #'title': 'Personal Data',
    713713                           'wf_transition_return': 'open',
    714714                           'wf_transition_admit': 'remain',
     
    725725                         'StudentStudyCourse':
    726726                          {'id': 'study_course',
    727                            'title': 'Study Course',
     727                           #'title': 'Study Course',
    728728                           'wf_transition_return': 'open',
    729729                           'wf_transition_admit': 'remain',
     
    749749                         'PaymentsFolder':
    750750                          {'id': 'payments',
    751                            'title': 'Payments',
     751                           #'title': 'Payments',
    752752                           'wf_transition_return': 'open',
    753753                           'wf_transition_admit': 'open',
     
    796796                sub_obj = getattr(student_obj,f2t[pt]['id'])
    797797                sub_doc = sub_obj.getContent()
    798                 d['Title'] = f2t[pt]['title']
     798                #d['Title'] = f2t[pt]['title']
    799799                for field in f2t[pt]['fields']:
    800800                    d[field] = mapping.get(field,'')
     
    915915                            continue
    916916                        sub_obj = getattr(student_obj,object_id)
    917                         if f2t[pt]['title'] != '':
    918                             d['Title'] = f2t[pt]['title']
     917                        #if f2t[pt]['title'] != '':
     918                        #    d['Title'] = f2t[pt]['title']
    919919                    sub_doc = sub_obj.getContent()
    920920                    for field in intersect:
Note: See TracChangeset for help on using the changeset viewer.