mongoose-materialized
mongoose-materialized copied to clipboard
.save does not update all path
trafficstars
I save model normaly with .save() method as in docs specified. But if I apply, lets say, a new parent - not all children paths are rebuilt. I use 0.1.8 version of your plugin. What could be wrong?
Can you show Me an example?
Steps to reproduce:
- Try to build a following hierarchy:
Car --Audi -----A4 -----A6 --BMW -----M5 -----X6
- Add global item, which will be the parent for "Car" item: "Transport"
- Have a look at the path in the DB, they should be broken.
- For building you can use only ".save" method