[
https://issues.apache.org/jira/browse/ATLAS-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keval Bhatt reassigned ATLAS-2236:
----------------------------------
Assignee: Keval Bhatt
> UI - Basic Search Post request send attribute filters even after removing Type
> ------------------------------------------------------------------------------
>
> Key: ATLAS-2236
> URL: https://issues.apache.org/jira/browse/ATLAS-2236
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 1.0.0
> Reporter: Tejas Rawool
> Assignee: Keval Bhatt
> Fix For: 1.0.0, 0.8.2
>
>
> Steps to Reproduce:-
> # Select a Type and apply a filter for it
> # Select a Tag and click on search button
> # Now remove Type using "x" button of type dropdown
> # After removing type click on Search button, It show error as "EntityFilters
> specified without Type name"
> Request Payload with type selected:-
> {code}
> {
> "excludeDeletedEntities": true,
> "typeName":"Asset",
> "entityFilters":
> {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "name",
> "operator": "eq",
> "attributeValue": "sdfsdf"
> }]
> },
> "tagFilters": null,
> "attributes": null,
> "limit": 25,
> "offset": 0,
> "typeName": null,
> "classification": "a1509022126155"
> }
> {code}
> Request Payload without type selected:-
> * entityFilters attribute is present without Type which is wrong
> {code}
> {
> "excludeDeletedEntities": true,
> "entityFilters":
> {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "name",
> "operator": "eq",
> "attributeValue": "sdfsdf"
> }]
> },
> "tagFilters": null,
> "attributes": null,
> "limit": 25,
> "offset": 0,
> "typeName": null,
> "classification": "a1509022126155"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)