| Issue 50: | recursive post_save signals seem to confuse mptt.. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. register model M to mptt 2. connect a post_save signal where sender is M 3. call save() on the instances' parent in the signal handler What is the expected output? What do you see instead? Since I'm just updating some fields in the parents, (not mptt related fields) I would expect this to work just fine. Instead if I create a new node, the lft and rght fields are miscalculated (as if the node were a root node), while the parent field points to the right target. What version of the product are you using? On what operating system? I'm on kubuntu 8.04, django 1.0.2, mptt 0.3-pre Please provide any additional information below.
Sep 3, 2010
Reproduced, thanks for the test app
Status:
Accepted
Owner: craig.ds
Dec 18, 2010
Migrated to https://github.com/django-mptt/django-mptt/issues/#issue/73 |
4.1 KB Download