Ticket #741 (closed defect: wontfix)

Opened 18 months ago

Last modified 16 months ago

issue with event listeners.

Reported by: pookey Owned by: somebody
Priority: minor Milestone: 0.10.4
Component: Other Version: 0.10.0
Severity: Keywords:
Cc: Has Test:
Status: Has Patch:

Description

As can be sene in the test case (see next comment) - you cannot modify a related object in an event listener.

Change History

Changed 18 months ago by pookey

(In [3558]) refs #741 - updating the names of the model classes

Changed 18 months ago by pookey

the problem is basicalyl that the Parent goes into state LOCKED, so cannoy be modified by event listeners in the children.

Changed 18 months ago by jwage

  • milestone set to 1.0

Changed 16 months ago by jwage

  • version set to 0.10
  • milestone changed from 1.0 to 0.10.4

Changed 16 months ago by jwage

  • status changed from new to closed
  • resolution set to wontfix

I think this is intended/expected behavior, because you are calling postInsert on the parent record of Moo, so Moo is still in that state, it has not been saved yet. If you add manually change the state of ->Moo then it will work.

Note: See TracTickets for help on using tickets.