atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1714) UI : Properties tab doesn't load when an entity has attribute of type array of integers
Date Wed, 17 May 2017 16:32:04 GMT

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

Madhan Neethiraj updated ATLAS-1714:
------------------------------------
    Affects Version/s:     (was: 0.9-incubating)
                       0.8-incubating

> 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.8-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Keval Bhatt
>             Fix For: 0.9-incubating, 0.8.1-incubating
>
>         Attachments: ATLAS-1714.patch
>
>
> 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