Skip to content

Group after Project in aggregation uses incorrect field name [DATAMONGO-1254] #2171

Closed
@spring-projects-issues

Description

@spring-projects-issues

Amy Aldredge opened DATAMONGO-1254 and commented

When creating an aggregation, if a new field is named in the project, the new field name is converted to something else in a group by following the projection; the name passed in the group by is ignored. This causes the results to be incorrect. See test case for an example.


Affects: 1.6.3 (Evans SR3)

Attachments:

Referenced from: pull request #311, and commits 6f0ac7f, d2f90ba

Backported to: 1.7.2 (Fowler SR2)

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions