Ignore:
Timestamp:
17 Jun 2012, 06:42:20 (12 years ago)
Author:
Henrik Bettermann
Message:

Let's use the msave helper function also in university and other packages. msave applies applyData to the view and writes a view-specific log message. The context object of the view must have a writeLogMessage method.

In the students package writeLogMessage is now provided by all classes which implement IStudentNavigation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py

    r8310 r8735  
    151151        studycourse.certificate = None
    152152        notify(grok.ObjectModifiedEvent(student))
    153         student.loggerInfo('ObjectRemovedEvent', 'removed: certificate')
     153        student.__parent__.logger_info(
     154            'ObjectRemovedEvent',student.__name__,'removed: certificate')
    154155    return
    155156
Note: See TracChangeset for help on using the changeset viewer.