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

TypeError: Cannot read property 'aggConfig' of undefined #26155

Closed
larsflagan opened this issue Nov 25, 2018 · 2 comments
Closed

TypeError: Cannot read property 'aggConfig' of undefined #26155

larsflagan opened this issue Nov 25, 2018 · 2 comments
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@larsflagan
Copy link

larsflagan commented Nov 25, 2018

**Kibana version:6.5 & 6.5.1

**Elasticsearch version: 6.5

**Server OS version: CentOS 7.5

**Browser version: Chrome 62

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): Yum

Describe the bug:

Our dashboard with a pie vizualisation and a heatmap visualisation is throwing errors when clicking the visualistions to apply filters.

Steps to reproduce:
Install kibana 6.5
navigate to dashboard
click pie or heatmap visualization
filter is not applied to underlying search

Expected behavior:

Screenshots (if relevant):

Errors in browser console (if relevant):

when loading the dashboard in the browser a warning shows up in the console

_Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: now-4h, _f: undefined, _strict: undefined, locale: [object Object]
Error
at Function.createFromInputFallback (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:161744)
at Yt (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:179695)
at Ot (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:180406)
at Tt (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:180488)
at n (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:208:158585)
at Function.convertTimeToUTCString (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:397275)
at DashboardStateManager.handleTimeChange (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:2898432)
at controller (http://kibana.xxxx.local:5601/bundles/commons.bundle.js:3:2882333)
at Object.invoke (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:53092)
at $controllerInit (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:120876)
at nodeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:99972)
at compositeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:85277)
at publicLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:82884)
at Object.link (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:304:7516)
at http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:11954
at invokeLinkFn (http://kibana.xxxx.local:5601/bundles/vendors.bundle.js:277:114094)

When clicking the pie visualization this error shows up in the browser console.

TypeError: Cannot read property 'aggConfig' of undefined
at Object.createFilter (commons.bundle.js:3)
at Function.filter (commons.bundle.js:3)
at commons.bundle.js:3
at processQueue (vendors.bundle.js:277)
at vendors.bundle.js:277
at Scope.$digest (vendors.bundle.js:277)
at vendors.bundle.js:277
at completeOutstandingRequest (vendors.bundle.js:277)
at vendors.bundle.js:277 "Possibly unhandled rejection: {}"

Similarly clicking the heatmap visualization produces this error in the browser console

TypeError: Cannot read property '$parent' of undefined
at Function.filter (commons.bundle.js:3)
at commons.bundle.js:3
at processQueue (vendors.bundle.js:277)
at vendors.bundle.js:277
at Scope.$digest (vendors.bundle.js:277)
at vendors.bundle.js:277
at completeOutstandingRequest (vendors.bundle.js:277)
at vendors.bundle.js:277 "Possibly unhandled rejection: {}"

Provide logs and/or server output (if relevant):
Could not find any relevant issues in kibana server logs

Any additional context:
Attaching saved objects of the visualizations causing problems

ExportedVisualizations.zip

@Bargs Bargs added triage_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 26, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@lukasolson
Copy link
Member

Duplicate of #25920.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

5 participants