[ https://issues.apache.org/jira/browse/ATLAS-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17297828#comment-17297828 ]
ASF subversion and git services commented on ATLAS-4186: -------------------------------------------------------- Commit 8f820e68e6e52b2e8e24befd6601ab27a79ff92c in atlas's branch refs/heads/master from Roman Hres [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=8f820e6 ] ATLAS-4186 :- Fix black icons on Apache Atlas lineage UI in case of space in the type name of the entity (#124) Co-authored-by: Roman Gres <roman.g...@ocado.com> > 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 > Priority: Minor > Attachments: DataSetEntities.json, ProcessEntity.json, Test Entity > Defs.json, black_icons.png > > Time Spent: 20m > Remaining Estimate: 0h > > 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)