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/04/04 09:08:41 UTC
[jira] [Created] (ATLAS-1714) UI : Properties tab doesn't load when
an entity has attribute of type array of integers
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)