You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Srikanth Sundarrajan (JIRA)" <ji...@apache.org> on 2014/11/05 02:32:34 UTC

[jira] [Commented] (FALCON-862) Falcon entity Rest API - filter by tags also returns entities that do not have tags.

    [ https://issues.apache.org/jira/browse/FALCON-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14197306#comment-14197306 ] 

Srikanth Sundarrajan commented on FALCON-862:
---------------------------------------------

Use Collections::isEmpty() instead of size() == 0

> Falcon entity Rest API - filter by tags also returns entities that do not have tags. 
> -------------------------------------------------------------------------------------
>
>                 Key: FALCON-862
>                 URL: https://issues.apache.org/jira/browse/FALCON-862
>             Project: Falcon
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 0.6
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.6
>
>         Attachments: FALCON-862.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> To reproduce : Create and submit two process entities. One with tag "test=blah" and another without any tags. 
> GET http://falcon-node:15000/api/entities/list/process?fields=tags&tags=test=blah   should return only one process entity. Instead it returns both process entities 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)