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

Dashboard only mode doesn't display saved searches #22510

Closed
stacey-gammon opened this issue Aug 29, 2018 · 3 comments
Closed

Dashboard only mode doesn't display saved searches #22510

stacey-gammon opened this issue Aug 29, 2018 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features regression

Comments

@stacey-gammon
Copy link
Contributor

To repro:

  1. Create a dashboard with a saved search and some other visualization (can use sample flight data)
  2. Create a dashboard only mode user
  3. log in as that user and notice the visualization loads, but the saved search does not.

Sounds like it's in 6.4

console error:

angular.js:14800 Error: [$injector:unpr] Unknown provider: pagerFactoryProvider <- pagerFactory <- docTableDirective
http://errors.angularjs.org/1.6.9/$injector/unpr?p0=pagerFactoryProvider%20%3C-%20pagerFactory%20%3C-%20docTableDirective
    at angular.js:116
    at angular.js:4887
    at Object.getService [as get] (angular.js:5047)
    at angular.js:4892
    at getService (angular.js:5047)
    at injectionArgs (angular.js:5072)
    at Object.invoke (angular.js:5098)
    at angular.js:8267
    at forEach (angular.js:408)
    at Object.<anonymous> (angular.js:8265)
    at Object.invoke (angular.js:5106)
    at Object.enforcedReturnValue [as $get] (angular.js:4939)
    at Object.invoke (angular.js:5106)
    at angular.js:4893
    at Object.getService [as get] (angular.js:5047)
    at addDirective (angular.js:10167)

cc @elastic/kibana-sharing

This usually happens if something important was added to the uiExports section in kibana core, but not in dashboard mode plugin registry file.

@stacey-gammon stacey-gammon added bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features :Sharing regression labels Aug 29, 2018
@stacey-gammon
Copy link
Contributor Author

We should also extend the test coverage for dashboard only mode, to do something like the embeddable rendering dashboard test, that loads up every type of visualization and saved search and makes sure everything loads, as well as is filterable, etc.

@marbin
Copy link

marbin commented Aug 30, 2018

I can confirm this is in 6.4.
Is there any workaround for this, other than just skipping the dashboard-only role?
We have saved searches on all of our dashboards.. ;-)
/Mattias

chrisdavies added a commit to chrisdavies/kibana that referenced this issue Sep 4, 2018
@stacey-gammon
Copy link
Contributor Author

No workaround, sorry @marbin. We have a fix ready to go, should get into 6.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features regression
Projects
None yet
Development

No branches or pull requests

2 participants