Changeset 5020 for WAeUP_SRP/trunk


Ignore:
Timestamp:
14 Feb 2010, 21:37:18 (15 years ago)
Author:
Henrik Bettermann
Message:

do not remove payment records, because an uncatalog error occurs, if payment objects exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPImport.py

    r4558 r5020  
    10481048                open(reimport_file,"a").write('\n'.join(line_for_reimport) +'\n')               
    10491049                self.course_results.exportRemoveAllCourses(student_id = student_id, export = True, remove = True)
    1050                 self.payments_catalog.exportRemoveAllPayments(student_id = student_id, export = True, remove = True)
     1050                # remove should be false, otherwise an uncatalog error occurs if payment objects exist
     1051                self.payments_catalog.exportRemoveAllPayments(student_id = student_id, export = True, remove = False)
    10511052                self.waeup_tool.exportAllStudyLevels(student_id = student_id)
    10521053                # end export
Note: See TracChangeset for help on using the changeset viewer.