atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharmadha Sainath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1714) UI : Properties tab doesn't load when an entity has attribute of type array of integers
Date Tue, 04 Apr 2017 09:08:41 GMT
Sharmadha Sainath created ATLAS-1714:
----------------------------------------

             Summary: UI : Properties tab doesn't load when an entity has attribute of type
array of integers 
                 Key: ATLAS-1714
                 URL: https://issues.apache.org/jira/browse/ATLAS-1714
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
    Affects Versions: 0.9-incubating
            Reporter: Sharmadha Sainath


Created a type with array of integers as on of its attributes :
{code}
          { 
               "name":"type_set_int",
               "isOptional":true,
               "isUnique":false,
               "isIndexable":false,
               "typeName":"array<int>",
               "valuesMaxCount":1,
               "cardinality":"SET",
               "valuesMinCount":0
            }
{code}
Created an entity of the type with value for type_set_int as [1,2,3]. Entity is created with
200 OK.

Following exception is thrown in console tab :
{code}
Uncaught TypeError: inputOutputField.indexOf is not a function
    at http://172.27.16.74:21000/js/utils/CommonViewFunction.js:148:46
    at Array.map (native)
    at Object.CommonViewFunction.propertyTable (http://172.27.16.74:21000/js/utils/CommonViewFunction.js:129:39)
    at n.entityTableGenerate (http://172.27.16.74:21000/js/views/entity/EntityDetailTableLayoutView.js:68:48)
    at n.onRender (http://172.27.16.74:21000/js/views/entity/EntityDetailTableLayoutView.js:56:22)
    at http://172.27.16.74:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:7823
    at n.triggerMethod (http://172.27.16.74:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:20703)
    at n.render (http://172.27.16.74:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:21699)
    at n.render (http://172.27.16.74:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:30148)
    at constructor.show (http://172.27.16.74:21000/js/libs/backbone-marionette/backbone.marionette.min.js:20:11890)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message