Changeset 3064


Ignore:
Timestamp:
30 Jan 2008, 06:56:11 (17 years ago)
Author:
Henrik Bettermann
Message:

session was not imported into student_study_level object. This version of mass_edit_verdict is supposed to fix it. All verdicts have to be reimported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3063 r3064  
    19761976        any_change = False
    19771977        #special treatment for StudentStudyLevel
    1978         current_session = mapping.get('current_session','')
     1978        current_session = d['session'] = mapping.get('current_session','')
    19791979        if current_session and student_record.session != current_session:
    19801980            return '','student %s: imported session %s does not match current_session %s' % (student_id,
     
    19951995                                                                             current_level)
    19961996        verdict = d['verdict'] = d['current_verdict']  = mapping.get('current_verdict','')
    1997         if verdict == student_record.verdict:
    1998             return '','student %s: verdict already set to %s' % (student_id,
    1999                                                                     verdict)
     1997       
     1998        #if verdict == student_record.verdict:
     1999        #    return '','student %s: verdict already set to %s' % (student_id,
     2000        #                                                            verdict)
    20002001
    20012002        level_review_state = wftool.getInfoFor(level_obj,'review_state',None)
Note: See TracChangeset for help on using the changeset viewer.