Skip to content
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

DATAMONGO-2511 Give context to mapping exceptions #860

Open
wants to merge 1 commit into
base: 3.4.x
Choose a base branch
from

Conversation

pkubowicz
Copy link

When invoking findAll() exception details contained no information
which document was malformed and other details (for example which
field was wrong) were usually useless for identifying the document.

Now the mapping exception will include the document.

Fixes DATAMONGO-2511

  • You have read the Spring Data contribution guidelines.
  • There is a ticket in the bug tracker for the project in our JIRA.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 4, 2021
@schauder schauder added status: pending-design-work Needs design work before any code can be developed and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 18, 2021
@schauder schauder assigned schauder and unassigned schauder Jan 18, 2021
@mp911de mp911de force-pushed the master branch 2 times, most recently from 7f55001 to 9d74734 Compare April 8, 2021 15:14
@gregturn gregturn changed the base branch from master to main April 16, 2021 17:23
When invoking findAll() exception details contained no information
which document was malformed and other details (for example which
field was wrong) were usually useless for identifying the document.

Now the mapping exception will include the document.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: pending-design-work Needs design work before any code can be developed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants