Skip to content

DATAMONGO-1421 - Fix serialization in error message causing error itself. #448

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
wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

We now make sure to safely serialize the criteria object used for creating the error message when raising an InvalidMongoDbApiUsageException in cases where addCriteria is used to add multiple entries for the same property.

…elf.

We now make sure to safely serialize the criteria object used for creating the error message when raising an `InvalidMongoDbApiUsageException` in cases where `addCriteria` is used to add multiple entries for the same property.
mp911de pushed a commit that referenced this pull request Mar 8, 2017
…elf.

We now make sure to safely serialize the criteria object used for creating the error message when raising an `InvalidMongoDbApiUsageException` in cases where `addCriteria` is used to add multiple entries for the same property.

Original pull request: #448.
mp911de added a commit that referenced this pull request Mar 8, 2017
Remove trailing whitespaces. Construct exception message with String.format(…).

Original pull request: #448.
mp911de pushed a commit that referenced this pull request Mar 8, 2017
…elf.

We now make sure to safely serialize the criteria object used for creating the error message when raising an `InvalidMongoDbApiUsageException` in cases where `addCriteria` is used to add multiple entries for the same property.

Original pull request: #448.
mp911de added a commit that referenced this pull request Mar 8, 2017
Remove trailing whitespaces. Construct exception message with String.format(…).

Original pull request: #448.
mp911de pushed a commit that referenced this pull request Mar 8, 2017
…elf.

We now make sure to safely serialize the criteria object used for creating the error message when raising an `InvalidMongoDbApiUsageException` in cases where `addCriteria` is used to add multiple entries for the same property.

Original pull request: #448.
mp911de added a commit that referenced this pull request Mar 8, 2017
Remove trailing whitespaces. Construct exception message with String.format(…).

Original pull request: #448.
mp911de pushed a commit that referenced this pull request Mar 8, 2017
…elf.

We now make sure to safely serialize the criteria object used for creating the error message when raising an `InvalidMongoDbApiUsageException` in cases where `addCriteria` is used to add multiple entries for the same property.

Original pull request: #448.
mp911de added a commit that referenced this pull request Mar 8, 2017
Remove trailing whitespaces. Construct exception message with String.format(…).

Original pull request: #448.
@mp911de
Copy link
Member

mp911de commented Mar 8, 2017

That's merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants