[ https://issues.apache.org/jira/browse/ATLAS-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apoorv Naik reassigned ATLAS-2025: ---------------------------------- Assignee: Apoorv Naik > Basic query with entity and tag filters : Providing invalid tag name for > classification returns all entities matching typename/query > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: ATLAS-2025 > URL: https://issues.apache.org/jira/browse/ATLAS-2025 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 0.9-incubating, 0.8.1-incubating > Reporter: Sharmadha Sainath > Assignee: Apoorv Naik > Priority: Critical > Attachments: > 0002-ATLAS-2025-Validation-of-classification-type-in-basi.patch > > > Fired a basic query with following POST request body with Non Existing tag > using curl (because UI only lets user select from existing tags): > {code} > { > "entityFilters":null, > "tagFilters":null, > "attributes":null, > "query":null, > "excludeDeletedEntities":true, > "limit":25, > "typeName":"kafka_topic", > "classification":"non_existing_tag" > } > {code} > GET Basic search request with classification parameter also lists all the > kakfa_topic entities: > {code} > http://localhost:21000/api/atlas/v2/search/basic?typeName=kafka_topic&classification=non_existing_tag&limit=50 > {code} > Expected 40X Response code saying that tag doesn't exist. But the response > listed all the kafka_topic entities. This gives an delusion that all returned > kafka_topic entities are tagged with 'non_existing_tag' -- This message was sent by Atlassian JIRA (v6.4.14#64029)