Rahul Kurup created ATLAS-4798:
----------------------------------
Summary: UI: Saved search created in API not working in UI
Key: ATLAS-4798
URL: https://issues.apache.org/jira/browse/ATLAS-4798
Project: Atlas
Issue Type: Bug
Reporter: Rahul Kurup
The following saved search created through API request doesn't work in UI. When
we click on the entry for the saved search, no action occurs.
{code:java}
{"name":
"a2","excludeDeletedEntities":true,"includeSubClassifications":true,"includeSubTypes":true,"includeClassificationAttributes":true,"entityFilters":{"attributeName":"name","operator":"contains","attributeValue":"sales"},"tagFilters":null,"attributes":[],"limit":25,"offset":0,"typeName":"Table","classification":null,"termName":null}
{code}
Curl Command:
{code:java}
curl -X 'POST' \
'http://localhost:21000/api/atlas/v2/search/saved' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-XSRF-HEADER: NmdrbipuSHT127wqLOf3' \
-d '{"name":
"a2","excludeDeletedEntities":true,"includeSubClassifications":true,"includeSubTypes":true,"includeClassificationAttributes":true,"entityFilters":{"attributeName":"name","operator":"contains","attributeValue":"sales"},"tagFilters":null,"attributes":[],"limit":25,"offset":0,"typeName":"Table","classification":null,"termName":null}'
{code}
However if we perform the same search using UI and then save it, it works as
expected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)