You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/07/06 12:23:00 UTC

[jira] [Created] (ATLAS-1932) Search using entity and trait attributes - Filter Attribute window keeps buffering forever on filtering a type which has same attribute that of its super type

Sharmadha Sainath created ATLAS-1932:
----------------------------------------

             Summary: Search using entity and trait attributes - Filter Attribute window keeps buffering forever on filtering a type which has same attribute that of its super type
                 Key: ATLAS-1932
                 URL: https://issues.apache.org/jira/browse/ATLAS-1932
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core, atlas-webui
    Affects Versions: 0.9-incubating
            Reporter: Sharmadha Sainath
            Priority: Minor
             Fix For: 0.9-incubating


1.Created a type "super_type" with attributes a , b.
2.Created a type "child_type" with attributes a , c and superType as super_type.
3.Searched "child_type" and on clicking filter button , Filter window keeps loading forever.

Following exception is seen in Console tag :

{code}
Uncaught Error: Filter "a" already defined
    at Object.k.error (http://172.27.52.210:21000/js/libs/jQueryQueryBuilder/js/query-builder.standalone.min.js:7:11517)
    at g.<anonymous> (http://172.27.52.210:21000/js/libs/jQueryQueryBuilder/js/query-builder.standalone.min.js:6:12273)
    at Array.forEach (native)
    at g.checkFilters (http://172.27.52.210:21000/js/libs/jQueryQueryBuilder/js/query-builder.standalone.min.js:6:12171)
    at new g (http://172.27.52.210:21000/js/libs/jQueryQueryBuilder/js/query-builder.standalone.min.js:6:6589)
    at n.fn.init.$.fn.queryBuilder (http://172.27.52.210:21000/js/libs/jQueryQueryBuilder/js/query-builder.standalone.min.js:7:12735)
    at n.onRender (http://172.27.52.210:21000/js/views/search/QueryBuilderView.js:149:37)
    at http://172.27.52.210:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:7823
    at n.triggerMethod (http://172.27.52.210:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:20703)
    at n.render (http://172.27.52.210:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:21699)
{code}

Marking this issue as minor because , 
1. Creating child type same attribute as parent type is quite a rare case.
2. While tag creation/update  , Atlas doesn't allow to add attributes to child tag same as that of its parent tag in UI. But its possible via REST.




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