You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
A previously reported bug was fixed in version 5.1.3 of mongoose. Starting with version 5.2.5, the bug has been reintroduced.
Sorry for the trouble, it looks like our test case for #6488 didn't test the full integration, just tested a unit that happened to cause this issue in 2018. We added a full integration test for this issue, so virtual populate on a nested schema within an embedded discriminator should work fine going forward as of 5.7.3 👍
vkarpov15
added
confirmed-bug
We've confirmed this is a bug in Mongoose and will fix it.
and removed
has repro script
There is a repro script, the Mongoose devs need to confirm that it reproduces the issue
labels
Sep 24, 2019
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
A previously reported bug was fixed in version 5.1.3 of mongoose. Starting with version 5.2.5, the bug has been reintroduced.
Previously fixed bug: #6488
If the current behavior is a bug, please provide the steps to reproduce.
See the reproduction script in the link above under the section:
Virtual Population NOT WORKING When Virtual Field Is Nested Within Embedded Object Schema
What is the expected behavior?
I expected the issue to be resolved in all versions after 5.1.3
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
mongoose: 5.7.1
node: 10.14.1
mongo: 3.6.4
The text was updated successfully, but these errors were encountered: