atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keval Bhatt (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ATLAS-1714) UI : Properties tab doesn't load when an entity has attribute of type array of integers
Date Wed, 12 Apr 2017 13:00:47 GMT

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

Keval Bhatt edited comment on ATLAS-1714 at 4/12/17 1:00 PM:
-------------------------------------------------------------

Thanks [~nixonrodrigues] for review, Patch is committed in master (http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/97209e81)
and committed in 0.8-incubating (http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/080b14ee)


was (Author: kevalbhatt18):
Thanks [~nixonrodrigues] for review, Patch committed in master (http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/97209e81)

> 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
>            Assignee: Keval Bhatt
>         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