Skip to content

Improve error message in case of invalid dynamic templates.#65001

Merged
martijnvg merged 1 commit intoelastic:7.xfrom
martijnvg:backport_60870
Nov 12, 2020
Merged

Improve error message in case of invalid dynamic templates.#65001
martijnvg merged 1 commit intoelastic:7.xfrom
martijnvg:backport_60870

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Backporting #60870 to 7.x branch.

Include the attempted 'match_mapping_type' into the message,
so that it is clearer that multiple validation attempts have occurred.

Dynamic template validation was recently added via #51233 and
there was some confusion over the deprecation message itself.
(in 7.x only deprecation warning will be omitted and from 8.0
an error will be returned)

Backporting elastic#60870 to 7.x branch.

Include the attempted 'match_mapping_type' into the message,
so that it is clearer that multiple validation attempts have occurred.

Dynamic template validation was recently added via elastic#51233 and
there was some confusion over the deprecation message itself.
(in 7.x only deprecation warning will be omitted and from 8.0
 an error will be returned)
@martijnvg martijnvg added :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. backport labels Nov 12, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Indices APIs)

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Nov 12, 2020
@martijnvg martijnvg merged commit ce91f27 into elastic:7.x Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants