[jira] [Commented] (ATLAS-2898) Duplicate Entries on UI for custom types

2018-09-27 Thread Ayush Nigam (JIRA)


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

Ayush Nigam commented on ATLAS-2898:


[~nixonrodrigues] I understand that.But if you notice it always takes the 
latter value of name or qualifiedName overriding the first one.This is 
something UI should handle. Yes your solution will surely work but we need some 
changes on the UI side also to handle this as a long term strategy.

> Duplicate Entries on UI for custom types
> 
>
> Key: ATLAS-2898
> URL: https://issues.apache.org/jira/browse/ATLAS-2898
> Project: Atlas
>  Issue Type: Bug
>Reporter: Ayush Nigam
>Priority: Major
> Attachments: Screen Shot 2018-09-27 at 5.55.08 PM.png
>
>
> I set atlas.ui.editable.entity.types=* property is 
> atlas-application.properties and tried to edit avro_record type.
>  
> It is asking name and qualified name fields more than 1 time,but takes 
> whichever value is later.Attaching the screenshot. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2898) Duplicate Entries on UI for custom types

2018-09-27 Thread Nixon Rodrigues (JIRA)


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

Nixon Rodrigues commented on ATLAS-2898:


[~ayushmnnit] , This change is not committed on the master.

The DataSet Type also inherits from Asset Type, while avro_type also inherits 
from Asset Type this leads to duplicate attribute in UI.  Need to check if this 
can be handled from UI easily.

 
{noformat}
{
  "name": "DataSet",
  "superTypes": [
"Referenceable",
"Asset"
  ],
  "typeVersion": "1.0",
  "attributeDefs": []
}
{noformat}
 

> Duplicate Entries on UI for custom types
> 
>
> Key: ATLAS-2898
> URL: https://issues.apache.org/jira/browse/ATLAS-2898
> Project: Atlas
>  Issue Type: Bug
>Reporter: Ayush Nigam
>Priority: Major
> Attachments: Screen Shot 2018-09-27 at 5.55.08 PM.png
>
>
> I set atlas.ui.editable.entity.types=* property is 
> atlas-application.properties and tried to edit avro_record type.
>  
> It is asking name and qualified name fields more than 1 time,but takes 
> whichever value is later.Attaching the screenshot. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2898) Duplicate Entries on UI for custom types

2018-09-27 Thread Ayush Nigam (JIRA)


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

Ayush Nigam commented on ATLAS-2898:


Ok thanks,I do not this change in master.

[~nixonrodrigues]

Also I think a type can be both a model and asset correct? So UI should handle 
that rather than making changes to model?

> Duplicate Entries on UI for custom types
> 
>
> Key: ATLAS-2898
> URL: https://issues.apache.org/jira/browse/ATLAS-2898
> Project: Atlas
>  Issue Type: Bug
>Reporter: Ayush Nigam
>Priority: Major
> Attachments: Screen Shot 2018-09-27 at 5.55.08 PM.png
>
>
> I set atlas.ui.editable.entity.types=* property is 
> atlas-application.properties and tried to edit avro_record type.
>  
> It is asking name and qualified name fields more than 1 time,but takes 
> whichever value is later.Attaching the screenshot. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ATLAS-2898) Duplicate Entries on UI for custom types

2018-09-27 Thread Nixon Rodrigues (JIRA)


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

Nixon Rodrigues commented on ATLAS-2898:


[~ayushmnnit], The fix for this issue is available on ATLAS-2743, you need to 
remove Asset from addons/models/1000-Hadoop/1065-avro_model.json 
b/addons/models/1000-Hadoop/1065-avro_model.json

 
{noformat}
diff --git a/addons/models/1000-Hadoop/1065-avro_model.json 
b/addons/models/1000-Hadoop/1065-avro_model.json
index 3eaddfb38..17fba8bb1 100644
--- a/addons/models/1000-Hadoop/1065-avro_model.json
+++ b/addons/models/1000-Hadoop/1065-avro_model.json
@@ -7,7 +7,7 @@
 "name": "avro_type",
 "description": "Atlas Type representing Abstract Avro Type",
 "superTypes": [
-"DataSet", "Asset"
+"DataSet"
 ],
{noformat}

> Duplicate Entries on UI for custom types
> 
>
> Key: ATLAS-2898
> URL: https://issues.apache.org/jira/browse/ATLAS-2898
> Project: Atlas
>  Issue Type: Bug
>Reporter: Ayush Nigam
>Priority: Major
> Attachments: Screen Shot 2018-09-27 at 5.55.08 PM.png
>
>
> I set atlas.ui.editable.entity.types=* property is 
> atlas-application.properties and tried to edit avro_record type.
>  
> It is asking name and qualified name fields more than 1 time,but takes 
> whichever value is later.Attaching the screenshot. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)