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

Fix for databind#1109 #1111

Merged
merged 1 commit into from
Feb 1, 2016
Merged

Fix for databind#1109 #1111

merged 1 commit into from
Feb 1, 2016

Conversation

aseovic
Copy link
Contributor

@aseovic aseovic commented Jan 30, 2016

Here is the fix for #1109.

@cowtowncoder
Copy link
Member

Much appreciated, thank you!

cowtowncoder added a commit that referenced this pull request Feb 1, 2016
@cowtowncoder cowtowncoder merged commit 03f1215 into FasterXML:master Feb 1, 2016
@aseovic aseovic deleted the 1109 branch February 2, 2016 05:38
yrodiere added a commit to yrodiere/jackson-databind that referenced this pull request Mar 8, 2016
Partially roll back to pre-FasterXML#1111 behavior.
We just make sure that the STRING shape is chosen when Shape.ANY (the default) is set on the annotation, but some other annotation attribute was also set (pattern, locale or timezone).
This way of fixing the issue has the added benefit of respecting the user config regarding the default serialization of strings when @jsonformat(shape = Shape.ANY) is set on a property.
@yrodiere yrodiere mentioned this pull request Mar 8, 2016
yrodiere added a commit to yrodiere/jackson-databind that referenced this pull request Mar 9, 2016
Partially roll back to pre-FasterXML#1111 behavior.
We just make sure that the STRING shape is chosen when Shape.ANY (the default) is set on the annotation, but some other annotation attribute was also set (pattern, locale or timezone).
This way of fixing the issue has the added benefit of respecting the user config regarding the default serialization of dates when @jsonformat(shape = Shape.ANY) is set on a property.
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