Changeset 2306


Ignore:
Timestamp:
3 Oct 2007, 17:22:43 (17 years ago)
Author:
Henrik Bettermann
Message:

pass (do not return) if doActionFor fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/level_delete.py

    r2138 r2306  
    2020here = context
    2121
    22 #if context.portal_type == "University":
    23 #    here = context.academics
    24 
    2522ti = getToolByName(here, 'portal_types').getTypeInfo(here.portal_type)
    2623meth_id = ti.queryMethodID('view', 'folder_contents')
     
    4037            wftool.doActionFor(student,'reject_courses')
    4138        except WorkflowException,E:
    42             logger.info('%s WorkflowException %s for %s' % (member_id,E,student_id))
    43             return request.RESPONSE.redirect("%s" % context.absolute_url())
     39            pass
     40            #logger.info('%s WorkflowException %s for %s' % (member_id,E,student_id))
     41            #return context.REQUEST.RESPONSE.redirect("%s" % context.absolute_url())
    4442    # for id in ids:
    4543    #     XXX has to be called from here since the workflow doesn't handle the
Note: See TracChangeset for help on using the changeset viewer.