Do not prefix already prefixed format with 8#48139
Merged
pgomulka merged 5 commits intoelastic:6.8from Oct 17, 2019
Merged
Conversation
It happens when a locale is specified on a mapping that a new JavaDateFormatter is created with a new mapping and already prefixed with 8 format is prefixed again. This should change avoids this behavior.
Collaborator
|
Pinging @elastic/es-core-infra (:Core/Infra/Core) |
Contributor
Author
|
discovered with yml test failure #47983 |
Contributor
Author
|
@elasticmachine run elasticsearch-ci/packaging-sample-matrix |
rjernst
approved these changes
Oct 16, 2019
Member
rjernst
left a comment
There was a problem hiding this comment.
Looks fine. Just to double check: we would have never serialized multiple 8's right?
Contributor
Author
|
@elasticmachine run elasticsearch-ci/2 |
Contributor
Author
|
@rjernst good point, when serialising, it probably won't (I can't see how this could happen) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It happens when a locale is specified on a mapping that a new
JavaDateFormatter is created with a new mapping and already prefixed
with 8 format is prefixed again. This should change avoids this
behavior.
gradle check?