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

Remove dirty prompt from Logstash Pipeline Management #19649

Conversation

justinkambic
Copy link
Contributor

Changes

This change is in response to an issue related to a dynamic URL routing issue originally referenced in #19594 and specifically #19608 for this instance of the issue. When the dirty prompt we're using on this page tries to stop the default navigation, it triggers an infinite digest loop like below:
screen shot 2018-06-04 at 11 03 03 am

As a temporary measure we're removing the dirty prompt, which appears to fix the issue.

Resolves #19608

Testing this PR

Create Pipeline View

  1. Have X-Pack Monitoring enabled.
  2. Ensure you have an index pattern defined and you can see data on your Discover page.
  3. Reload your root Kibana URL.
  4. Navigate to the Management app. Click Logstash Pipelines.
  5. Click Create pipeline.
  6. Enter an ID and description for your pipeline.
  7. Click the Discover tab again.
  8. There should be no prompt and no error when leaving this page.

Edit Pipeline View

Repeat steps 0-5 of the previous test.

  1. Click Create and Deploy to save your pipeline. You'll be returned to the Pipelines index view.
  2. Click the ID of the pipeline you defined. Modify the description or pipeline config.
  3. Click the Discover tab again.
  4. You should navigate away from the edit page with no prompt and no error.

@justinkambic justinkambic added bug Fixes for quality problems that affect the customer experience blocker review :Management v7.0.0 v6.3.0 Team:Logstash labels Jun 4, 2018
@justinkambic
Copy link
Contributor Author

cc @ycombinator

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@chrisronline chrisronline left a comment

Choose a reason for hiding this comment

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

LGTM!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@justinkambic justinkambic merged commit 194e427 into elastic:master Jun 5, 2018
justinkambic added a commit that referenced this pull request Jun 5, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
@justinkambic
Copy link
Contributor Author

justinkambic commented Jun 5, 2018

Backported to:
6.x/6.4.0 f64ed6f
6.3/6.3.0 5518d3a #19681

justinkambic added a commit to justinkambic/kibana that referenced this pull request Jun 5, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
justinkambic added a commit to justinkambic/kibana that referenced this pull request Jun 7, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
justinkambic added a commit that referenced this pull request Jun 7, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
@justinkambic justinkambic deleted the bug-fix/remove-dirty-prompt-to-avoid-angular-infinite-digest-loop branch June 7, 2018 17:53
kindsun pushed a commit that referenced this pull request Jun 12, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
maryia-lapata pushed a commit to maryia-lapata/kibana that referenced this pull request Jun 25, 2018
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience release_note:fix review Team:Logstash v6.3.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navigating from an unsaved logstash pipeline causes a Kibana fatal uncaught error
4 participants