Skip to content

DATAMONGO-925 - Improveed custom field-naming-strategy handling in MappingMongoConverterParser. #177

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

thomasdarimont
Copy link

Relaxed precondition for fieldNameStrategy setting to allow custom-field-naming strategies to be set.
MappingMongoConverterParser incorrectly rejected a configured field-naming-strategy-ref if abbreviate-field-names was not set to an empty string in XML configuration.

Thomas Darimont added 2 commits May 2, 2014 15:56
…field-naming-strategy-ref in XML configuration.

Prepare issue branch.
…ppingMongoConverterParser.

Relaxed precondition for fieldNameStrategy setting to allow custom-field-naming strategies to be set.
MappingMongoConverterParser incorrectly rejected a configured field-naming-strategy-ref if abbreviate-field-names was not set to an empty string in XML configuration.

Original pull request: #177.
odrotbohm pushed a commit that referenced this pull request May 19, 2014
…ames from namespace XSD.

The default for boolean attributes leaks into the evaluation of XML namespace attributes which causes us being unable to detect whether two attributes have been set in a conflicting way.

Fix the documentation on the field-naming-strategy-ref attribute.

Original pull request: #183.
Related pull request: #177.
Related ticket: DATAMONGO-925.
odrotbohm added a commit that referenced this pull request May 19, 2014
Only reject attribute setup if abbreviation is activated and a custom strategy is configured. Additional test cases for the rejection case and a custom, over-configuration (explicitly setting abbreviation to false, which is the default anyway).

Related pull request: #177.
@odrotbohm odrotbohm closed this May 19, 2014
@odrotbohm odrotbohm deleted the issue/DATAMONGO-925 branch May 19, 2014 15:10
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