Closed enricostano closed 12 years ago
I was following this (http://www.gediminasm.org/article/tree-nestedset-behavior-extension-for-doctrine-2) tutorial and I get this error while creating new object:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'lft' cannot be null
here is my class: https://gist.github.com/2795629
and the controller: https://gist.github.com/2795632
thank you
the tree extension listener is not active if you get such error. read the documentation on you to install extensions. if you use stof bundle, enable tree
Solved, thank you!
I was following this (http://www.gediminasm.org/article/tree-nestedset-behavior-extension-for-doctrine-2) tutorial and I get this error while creating new object:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'lft' cannot be null
here is my class: https://gist.github.com/2795629
and the controller: https://gist.github.com/2795632
thank you