-
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
Migrated tag cloud from 5.6.16 displays error in 7.10/7.11 #83876
Comments
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/kibana-app-services (Team:AppServices) |
Forwarding to @elastic/kibana-app-services as the error is thrown from the expression plugin. Seems like it might be that the registered SO migrations for the type from |
The error that's coming from the expressions service suggests that the tagcloud expression function is receiving an unexpected {
"title": "tag_cloud",
"type": "tagcloud",
"params": {
"scale": "linear",
"orientation": "single",
"minFontSize": 18,
"maxFontSize": 72,
"type": "tagcloud" // <-- This is what's causing the error
},
"aggs": [...],
"listeners": {...}
} cc @sulemanof -- I wonder if this was an accidental regression from #77910, as the 7.9 implementation of build_pipeline was picking specific args to include in the tagcloud expression function, whereas the 7.10 A shorter-term fix would be explicitly pulling out the known args inside |
Pinging @elastic/kibana-app (since I guess elasticmachine forgot to?) 🤷♂️ |
Kibana version: 5.6.16->7.10.0/7.11.0
Elasticsearch version: 5.6.16->7.10.0/7.11.0
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: Tag cloud saved object (migrated from 5.6.16) errors out on the display in 7.10/7.11
Steps to reproduce:
I have attached the saved json to the bug - export_tag_cloud.json.txt
Error: Unknown argument 'type' passed to function 'tagcloud'
at http://localhost:5601/36580/bundles/plugin/expressions/expressions.plugin.js:1:67601
at http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:6364
at http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:28176
at lr (http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:17621)
at http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:27981
at Tt (http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:6330)
at On.reduce (http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:421:62551)
at _callee4$ (http://localhost:5601/36580/bundles/plugin/expressions/expressions.plugin.js:1:67460)
at l (http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751401)
at Generator._invoke (http://localhost:5601/36580/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:321:1751154)
Screenshots (if relevant):
![Screen Shot 2020-11-19 at 6 39 11 PM](https://user-images.githubusercontent.com/7074629/99737768-f6dbe800-2a96-11eb-951c-72e4b8d39f49.png)
The text was updated successfully, but these errors were encountered: