Ignore:
Timestamp:
24 Nov 2007, 06:06:14 (17 years ago)
Author:
Henrik Bettermann
Message:

close_for_edit deprecated

Objects should always be opened unless the verdict has been imported.

We need a script which opens all levels before we import the verdicts.

File:
1 edited

Legend:

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

    r1630 r2752  
    2727
    2828wftool = context.portal_workflow
    29 wftool.doActionFor(context,'open')
    30 wftool.doActionFor(context,'close_for_edit')
     29try:
     30    wftool.doActionFor(context,'open')
     31except:
     32    pass
     33#wftool.doActionFor(context,'close_for_edit')
    3134students_folder = context.portal_url.getPortalObject().campus.students
    3235student_id = context.getStudentId()
Note: See TracChangeset for help on using the changeset viewer.