@on_reconstitute is not called if defined in a base class

Issue #1129 resolved
Former user created an issue

The @on_reconstitute decorator is not working properly if is defined in a Base class of a persisted class.

Ex:

class BaseClass(object):
    @on_reconstitute 
    def init_on_load(self):
        print "Loaded"

class PersistentClass(BaseClass):
    pass

if mapped class is "PersistentClass" the init_on_load method is not called, but work's fine if mapped class is "BaseClass"

Comments (3)

  1. Log in to comment