Canvas error if esdocs sort property without sort direction #198591
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Canvas
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
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.
The text was updated successfully, but these errors were encountered: