Click on Refresh loads the page again, but if click on table, raises the same error
Expected behavior:
The esdocs sort property with the syntax error should raise a controlled error when pressing Run, allowing the user to fix it on the Expression editor, as other syntax errors.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
TypeError: t.renderError is not a function
at https://my-deployment-XXX.kb.eu-central-1.aws.cloud.es.io/XXXaa/bundles/plugin/canvas/1.0.0/canvas.chunk.12.js:16:13571
at u (https://my-deployment-XXX.kb.eu-central-1.aws.cloud.es.io/XXXaa/bundles/plugin/canvas/1.0.0/canvas.chunk.7.js:3:17944)
at la (https://my-deployment-XXX.kb.eu-central-1.aws.cloud.es.io/XXXaa/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:429:59212)
at ec (https://my-deployment-XXX.kb.eu-central-1.aws.cloud.es.io/XXXaa/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:429:114853)
Any additional context:
The problem is when editing the expression directly on the bottom panel and include a syntax error in esdocs property sort with only the property name, not including sort direction, sort="agent.type" versus sort="agent.type, desc".
You can not edit the table anymore. To solve the issue, you can download the workpad JSON file, remove the sort property entirely and load the workpad again.
Kibana version: 8.15.3
Elasticsearch version: 8.15.3
Server OS version: Cloud & on-prem Windows Server 2022
Browser version: MS Edge 130.0.2849.56
Browser OS version: Windows 10 22H2 10.0.19045 Build 19045
Original install method (e.g. download page, yum, from source, etc.): Cloud & ZIP from download page
Describe the bug:
Steps to reproduce:
Expected behavior: The esdocs sort property with the syntax error should raise a controlled error when pressing Run, allowing the user to fix it on the Expression editor, as other syntax errors.
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context: The problem is when editing the expression directly on the bottom panel and include a syntax error in
esdocs
propertysort
with only the property name, not including sort direction,sort="agent.type"
versussort="agent.type, desc"
.You can not edit the table anymore. To solve the issue, you can download the workpad JSON file, remove the sort property entirely and load the workpad again.