if have a record that looks something like this:
{
'title' :'test',
'subdoc' :[{
'title' : 'sub test',
'subdoc2' : [{
'title' : 'sub 2 test';
}]
}]
}
I have the corresponding entities set up for doctrine, where subdoc is an EmbedMany of the root document and subdoc2 is an EmbedMany of subdoc.
It works great in my development environment. In the production environment, it dosn't save the subdoc2. I can create it, add it to the subdoc, and tell it to flush, no errors, but it just simply doesn't save.
Things I've ruled out:
Things it could be:
I'm really at loss! Please help.
As it turns out, the version of mongodb server where different. Followed directions here and now it works.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.