-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Endpoints in the relationships API throw 500 error if object not found #19713
Labels
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Feature:Saved Objects
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Comments
cuff-links
pushed a commit
to cuff-links/kibana
that referenced
this issue
Jun 7, 2018
…tionships API for when no result is found. Return 404.
cuff-links
changed the title
Endpoints in /savedobjects API throw 500 error if object not found
Endpoints in the relationships API throw 500 error if object not found
Jun 7, 2018
cuff-links
added a commit
that referenced
this issue
Jun 20, 2018
* Added coverage around search and dashboard tests. * Added tests to check for whether the resource is available. If not, return 404. * Skipped two tests due to #19713. Added error handling for relationships API for when no result is found. Return 404. * Applied patch file per PR. * Applied Chris patch and tested locally. No failures. * Removed ajv and utilised joi for schema validation. * Fixed package.json. * Copied package.json description from master. * Reverted package.json and made proper edit.
cuff-links
added a commit
to cuff-links/kibana
that referenced
this issue
Jul 13, 2018
* Added coverage around search and dashboard tests. * Added tests to check for whether the resource is available. If not, return 404. * Skipped two tests due to elastic#19713. Added error handling for relationships API for when no result is found. Return 404. * Applied patch file per PR. * Applied Chris patch and tested locally. No failures. * Removed ajv and utilised joi for schema validation. * Fixed package.json. * Copied package.json description from master. * Reverted package.json and made proper edit.
cuff-links
added a commit
to cuff-links/kibana
that referenced
this issue
Jul 13, 2018
* Added coverage around search and dashboard tests. * Added tests to check for whether the resource is available. If not, return 404. * Skipped two tests due to elastic#19713. Added error handling for relationships API for when no result is found. Return 404. * Applied patch file per PR. * Applied Chris patch and tested locally. No failures. * Removed ajv and utilised joi for schema validation. * Fixed package.json. * Copied package.json description from master. * Reverted package.json and made proper edit.
cuff-links
pushed a commit
that referenced
this issue
Jul 13, 2018
* Added coverage around search and dashboard tests. * Added tests to check for whether the resource is available. If not, return 404. * Skipped two tests due to #19713. Added error handling for relationships API for when no result is found. Return 404. * Applied patch file per PR. * Applied Chris patch and tested locally. No failures. * Removed ajv and utilised joi for schema validation. * Fixed package.json. * Copied package.json description from master. * Reverted package.json and made proper edit.
/cc @bmcconaghy This was filed a while ago but I don't see any activity on it. |
timroes
added
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Feature:Saved Objects
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
and removed
:Management DO NOT USE
labels
Nov 27, 2018
Pinging @elastic/kibana-platform |
timroes
removed
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
labels
Nov 30, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature:Kibana Management
Feature label for Data Views, Advanced Setting, Saved Object management pages
Feature:Saved Objects
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Kibana - Master
Environment: Mac OSX
Steps to reproduce:
The
/visualization
and/index-pattern
endpoints do not exhibit this behavior. Only/dashboards
and/search
.Expected behavior:
Server should return a 404 for NOT FOUND or a 200 response with an empty Array.
Actual Behavior
Server throws 500 error, thus not revealing whether the issue is with Kibana or ElasticSearch.
The text was updated successfully, but these errors were encountered: