Ignore:
Timestamp:
25 Oct 2012, 21:52:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Reorganize ICourseTicket. Add ICourseTicketImport which validates a new field called level_session.

Customize checkConversion of CourseTicketProcessor?:
If level_session is provided in row the importer checks if
the parent studylevel exists and if its level_session
attribute corresponds with the expected value in row. The error message
then tells us why course result import fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_courseticket_data.csv

    r7665 r9420  
    1 reg_number,matric_number,level,code,score,mandatory
    2 1,,100,COURSE1,1,True
    3 2,,100,COURSE1,2,False
    4 ,100002,100,COURSE1,3,False
    5 1,,nonsense,COURSE1,5,
    6 1,,100,NONSENSE,5,
     1reg_number,matric_number,level,code,score,mandatory,level_session
     21,,100,COURSE1,1,True,
     32,,100,COURSE1,2,False,
     4,100002,100,COURSE1,3,False,
     51,,nonsense,COURSE1,5,,
     61,,100,NONSENSE,5,,
     71,,200,COURSE1,6,,2004
     81,,300,COURSE1,6,,2008
     91,,300,COURSE1,6,,200888
Note: See TracChangeset for help on using the changeset viewer.