Changeset 2470 for WAeUP_SRP/base


Ignore:
Timestamp:
29 Oct 2007, 09:05:08 (17 years ago)
Author:
joachim
Message:

open level for edit (in custom)

File:
1 edited

Legend:

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

    r2451 r2470  
    1212return fixed session_id from level
    1313"""
     14try:
     15    from Products.zdb import set_trace
     16except:
     17    def set_trace():
     18        pass
    1419import logging
    1520logger = logging.getLogger('Skins.getLevelSession')
     
    2631else:
    2732    if changed:
     33        context.portal_workflow.doActionFor(level_doc.aq_parent,'open')
    2834        level_doc.edit(mapping={'session': session_id})
     35        context.portal_workflow.doActionFor(level_doc.aq_parent,'close_for_edit')
    2936return session_id
    3037
Note: See TracChangeset for help on using the changeset viewer.