You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Roman Hres (Jira)" <ji...@apache.org> on 2021/03/04 18:28:00 UTC

[jira] [Created] (ATLAS-4186) Black icons on lineage tab in case of type has spaces

Roman Hres created ATLAS-4186:
---------------------------------

             Summary: Black icons on lineage tab in case of type has spaces 
                 Key: ATLAS-4186
                 URL: https://issues.apache.org/jira/browse/ATLAS-4186
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
    Affects Versions: 2.1.0
            Reporter: Roman Hres
         Attachments: DataSetEntities.json, ProcessEntity.json, Test Entity Defs.json, black_icons.png

Currently there is an UI issue which can be found on Apache Atlas lineage UI in case when entity type definition has space in the name. As it is possible to create such a type definition I assume that it is a valid use case. 

Steps to reproduce:
 # Create following type defs (example of test definitions: [^Test Entity Defs.json]):
 ## a new type with space in name. DataSet is used as superType
 ## a new type with space in name. DataSet is used as superType
 ## a new type with space in name. Process is used as superType
 # Create several entities for created types (example: [^DataSetEntities.json])
 # Create process entity which use one of the created entities as input and the other one as output (example: [^ProcessEntity.json])

Actual result:

There are black icons instead inside lineage graph

!black_icons.png|width=784,height=371!

Expected result:

There are normal apache atlas icons 

 

*Additional note:*

During investigation, I found out that this issue related to encoding of the fill attribute in the html. Adding encodeURI before setting fill attribute helped with this issue.

Details of the fix can be found here: https://github.com/apache/atlas/pull/124

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)