Ignore:
Timestamp:
4 Dec 2007, 16:20:14 (17 years ago)
Author:
joachim
Message:

fix for #426

File:
1 edited

Legend:

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

    r2679 r2856  
    6969    wftool.doActionFor(context,'close')
    7070    return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
    71 context.getContent().edit(mapping = pd)
     71try:
     72    context.getContent().edit(mapping = pd)
     73except:
     74    logger.info('%s tried to edit payment %s in state %s' % (student_id,
     75                                                             context.getId(),
     76                                                             review_state))
     77    return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
     78   
    7279resp = pd['resp_code']
    7380
Note: See TracChangeset for help on using the changeset viewer.