Skip to content

Render group operation without non synthetic fields correctly. [DATAMONGO-759] #1658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Sep 23, 2013 · 3 comments
Assignees
Labels
in: aggregation-framework Aggregation framework support type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link

Thomas Darimont opened DATAMONGO-759 and commented

If no fields are given as the group keys the group id is incorrectly rendered as ```
_id: {}


As a fix we should emit ```
_id: null
``` if no fields are given as the group key

Reference URL: http://stackoverflow.com/questions/18749596/how-to-convert-this-query-using-spring-mongodb-aggregation-apis

Backported to: 1.3.2 (Babbage SR1)

@spring-projects-issues
Copy link
Author

Thomas Darimont commented

Added PR: #73

@spring-projects-issues
Copy link
Author

Oliver Drotbohm commented

Feedback submitted for the pull request

@spring-projects-issues
Copy link
Author

Thomas Darimont commented

Updated pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: aggregation-framework Aggregation framework support type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants