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

[Monitoring] Fixes multiple errors on no-data page #56054

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

igoristic
Copy link
Contributor

Resolves #47845

The errors were never reseted after the promise chain, since the "model_updater" pushes instead of re-assigns. Which is the correct behavior, but only for ever promise in transit

@igoristic igoristic added bug Fixes for quality problems that affect the customer experience review release_note:fix Team:Monitoring Stack Monitoring team v8.0.0 v7.7.0 v7.6.1 labels Jan 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/stack-monitoring (Team:Monitoring)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

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! Might be nice to add a test for this too

@igoristic
Copy link
Contributor Author

... Might be nice to add a test for this too

I tried to add a test, but the way the controller is setup makes it a bit complicated. I went down the path of modifying the controller to expose properties just for the sake of the test, however, it still didn't work since the getData function executes before the controller is instantiated, thus you don't have access to this scoping. Maybe I just have a wrong approach, so let me know if there is a better way

@chrisronline
Copy link
Contributor

@igoristic I'd just merge this for now

@igoristic igoristic merged commit 9685eca into elastic:master Jan 28, 2020
@igoristic igoristic deleted the issue-47845 branch January 28, 2020 16:25
gmmorris added a commit to gmmorris/kibana that referenced this pull request Jan 28, 2020
* master: (21 commits)
  [SIEM][Detection Engine] critical blocker updates to latest ECS version
  [Monitoring] Fix inaccuracies in logstash pipeline listing metrics (elastic#55868)
  Resetting errors and removing duplicates (elastic#56054)
  Add flag to opt out from sub url tracking (elastic#55672)
  [SIEM][Detection Engine] critical bug, fixes duplicate tags
  [ML] Anomaly Detection: Fix persist/restore of refreshInterval in globalState. (elastic#56113)
  [ML] Single Metric Viewer: Fix annnotations refresh. (elastic#56107)
  adapt ObjectToConfigAdapter.getFlattenedPaths to consider arrays as final values (elastic#56105)
  Add Appender.receiveAllLevels option to fix LegacyAppender (elastic#55752)
  [ML] Process delimited files like semi-structured text (elastic#56038)
  Charts plugin (combining ui/color_maps and EuiUtils) (elastic#55469)
  fix tutorial documentation (elastic#55996)
  [ML] Fix persist/restore of time/refreshInterval in data visualizer. (elastic#56122)
  [Index Management] Fix errors with validation (elastic#56072)
  [Index Management] Add try/catch when parsing index filter from URI (elastic#56051)
  [NP] add HTTP resources testing strategies (elastic#54908)
  [ML] Single Metric Viewer: Fix brush update on short recent timespans. (elastic#56125)
  [Uptime] Add timeout for slow process to skipped functional tests (elastic#56065)
  refactor (elastic#56121)
  Move tests in dashboard into appropriate folders (elastic#55304)
  ...
igoristic added a commit to igoristic/kibana that referenced this pull request Jan 29, 2020
@igoristic
Copy link
Contributor Author

Backport:
7.x: 3492b62
7.6: d88d38b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported bug Fixes for quality problems that affect the customer experience release_note:fix Team:Monitoring Stack Monitoring team v7.6.1 v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Monitoring] Errors on the no-data page are repeated
4 participants