Ignore:
Timestamp:
29 Oct 2007, 18:46:43 (17 years ago)
Author:
Henrik Bettermann
Message:

moves current_verdict to cprevious_verdict after session change
fix06Verdict: moves current_verdict to cprevious_verdict for all students in session 06

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/interswitch_cb.py

    r2454 r2475  
    8181next_level_id = next_info['next_level_id']
    8282next_transition = next_info['next_transition']
     83next_verdict = next_info['next_verdict']
    8384
    8485if  resp == '00':
     
    9192        except:
    9293            pass
     94        verdict = s_brain.verdict
    9395        study_course.getContent().edit(mapping= {'current_level': next_level_id,
    94                                                  'current_session': next_session_id,})
     96                                                 'current_session': next_session_id,
     97                                                 'previous_verdict': verdict,
     98                                                 })
    9599        if next_transition:
    96             wftool.doActionFor(student,next_transition)   
     100            wftool.doActionFor(student,next_transition)
    97101
    98102    logger.info('%s received valid callback' % student_id)
Note: See TracChangeset for help on using the changeset viewer.