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

Improve "Browser client is out of date" error message #50296

Merged
merged 5 commits into from
Nov 16, 2019

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Nov 12, 2019

Fixes: #6021

This doesn't make the message context dependent but provides some useful debugging information for the API usecase. It might not be super relevant for the browser usecase but I think the added value adds up for the slightly more verbose message.

@jalvz would this change make the error message clearer in your case?

@jalvz
Copy link
Contributor

jalvz commented Nov 12, 2019

yep!

@elasticmachine
Copy link
Contributor

💔 Build Failed

@sorenlouv
Copy link
Member Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

src/legacy/server/http/version_check.js Outdated Show resolved Hide resolved
Co-Authored-By: Josh Dover <me@joshdover.com>
@elasticmachine
Copy link
Contributor

💔 Build Failed

@sorenlouv
Copy link
Member Author

@elasticmachine merge upstream

@sorenlouv sorenlouv removed the request for review from epixa November 14, 2019 13:37
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@sorenlouv sorenlouv merged commit 7b95f78 into master Nov 16, 2019
@sorenlouv sorenlouv deleted the improve-error-message-for-kbn-version-mistmatch branch November 16, 2019 09:15
sorenlouv added a commit to sorenlouv/kibana that referenced this pull request Nov 16, 2019
* improve "Browser client is out of date" error message

* Improve wording of error message

Co-Authored-By: Josh Dover <me@joshdover.com>

* Fox formatting

* Fix format
sorenlouv added a commit that referenced this pull request Nov 17, 2019
* improve "Browser client is out of date" error message

* Improve wording of error message

Co-Authored-By: Josh Dover <me@joshdover.com>

* Fox formatting

* Fix format
jloleysens added a commit to jloleysens/kibana that referenced this pull request Nov 18, 2019
…her [skip ci]

* upstream/master: (54 commits)
  allows plugins to define validation schema for "enabled" flag (elastic#50286)
  Add retry to find.existsByDisplayedByCssSelector (elastic#48734)
  [i18n] integrate latest translations (elastic#50864)
  ui/resize_checker 👉 src/plugins/kibana_utils (elastic#44750)
  Fix @reach/router types (elastic#50863)
  [ML] Adding ML node warning to overview and analytics pages (elastic#50766)
  Bump storybook dependencies (elastic#50752)
  [APM Replace usage of idx with optional chaining (elastic#50849)
  [SIEM] Fix eslint errors (elastic#49713)
  Improve "Browser client is out of date" error message (elastic#50296)
  [SIEM][Detection Engine] REST API improvements and changes from UI/UX feedback (elastic#50797)
  Move @kbn/es-query into data plugin - es-query folder (elastic#50182)
  Index Management new platform migration (elastic#49359)
  Increase retry for cloud snapshot to finish (elastic#50781)
  Removing EuiCode from inside EuiPanel (elastic#50683)
  [SIEM] Tests for search_after and bulk index (elastic#50129)
  Make babel understand TypeScript 3.7 syntax (elastic#50772)
  Fixing mocha tests and broken password change status codes (elastic#50704)
  [Canvas] Use compressed forms in sidebar (elastic#49419)
  Add labels to shell scripts in Jenkins (elastic#49657)
  ...
@dgieselaar
Copy link
Member

Removing the test plan label as this is a Kibana change, not an APM specific change and it's just a text update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clearer error message for mismatched kbn-version on api request
6 participants