atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keval Bhatt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-2236) UI - Basic Search Post request send attribute filters even after removing Type
Date Mon, 30 Oct 2017 10:26:00 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keval Bhatt updated ATLAS-2236:
-------------------------------
    Attachment: ATLAS-2236.patch

> 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
>
>         Attachments: ATLAS-2236.patch
>
>
> 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": "Test"
>         }]
>     },
>     "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": "Test"
>         }]
>     },
>     "tagFilters": null,
>     "attributes": null,
>     "limit": 25,
>     "offset": 0,
>     "typeName": null,
>     "classification": "a1509022126155"
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message