- changed component to orm
@on_reconstitute is not called if defined in a base class
Issue #1129
resolved
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)
-
repo owner -
repo owner - changed status to resolved
we've got a tape and chewing gum fix in 29d4335b73b2b81e941050f0395aa4fb4e58cd39, r5103 which should be improved.
-
repo owner - removed milestone
Removing milestone: 0.5.0 (automated comment)
- Log in to comment