Skip to content

fixing some validation issues with edit policy - #27045

Merged
bmcconaghy merged 2 commits into
elastic:masterfrom
bmcconaghy:fix_ilm_issues
Dec 12, 2018
Merged

bmcconaghy merged 2 commits into
elastic:masterfrom
bmcconaghy:fix_ilm_issues

Conversation

@bmcconaghy

Copy link
Copy Markdown
Contributor

There were a couple of issues with saving a policy, going into edit, trying to save the same policy. It was failing on validating minimum age for hot phase (now skipped) and also failing on duplicate name detection (now only invoked if original policy name does not match current name). Tested scenarios in browser to validate.

@bmcconaghy bmcconaghy added v7.0.0 v6.6.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// labels Dec 12, 2018
@bmcconaghy
bmcconaghy requested a review from loixlab December 12, 2018 15:51
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@bmcconaghy bmcconaghy changed the title fixing validation issues with editing existing policy fixing some validation issues with edit policy Dec 12, 2018

@loixlab loixlab left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested locally and works great.

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@bmcconaghy
bmcconaghy merged commit c4900f7 into elastic:master Dec 12, 2018
@bmcconaghy
bmcconaghy deleted the fix_ilm_issues branch December 12, 2018 17:26
bmcconaghy added a commit to bmcconaghy/kibana that referenced this pull request Dec 12, 2018
* fixing validation issues with editing existing policy

* preventing less than 1 values for max size and max age and adding tests
bmcconaghy added a commit that referenced this pull request Dec 12, 2018
* fixing validation issues with editing existing policy

* preventing less than 1 values for max size and max age and adding tests
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* fixing validation issues with editing existing policy

* preventing less than 1 values for max size and max age and adding tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:ILM Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v6.6.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants