Skip to content

fix issue with id in nested objects caused by DATACOUCH-533 [DATACOUCH-620] #928

Closed
@spring-projects-issues

Description

@spring-projects-issues

Michael Reiche opened DATACOUCH-620 and commented

DATACOUCH-533 assumes fields named 'id' are document id's. As such they are removed from the data to be used as the "key".   
When a nested document - such as Submission in the User object - contains an 'id', it is also removed from the data.

public class User {
  private String id;
  private String username;
  private List<Submission> submissions;
}

public class Submission {
  private final String id;
  private final String userId;
  private final String talkId;
}


Referenced from: pull request #266

Backported to: 4.0.5 (Neumann SR5)

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions