Repository: incubator-atlas
Updated Branches:
  refs/heads/master fec431774 -> 8cce9a9fc


ATLAS-920 Lineage graph is broken when there are multiple paths from same 
source table (kevalbhatt18 via sumasai)


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/8cce9a9f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/8cce9a9f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/8cce9a9f

Branch: refs/heads/master
Commit: 8cce9a9fc9d1dbeaa028aa42476c7b9d54cb7efa
Parents: fec4317
Author: Suma Shivaprasad <[email protected]>
Authored: Wed Jun 22 14:12:47 2016 -0700
Committer: Suma Shivaprasad <[email protected]>
Committed: Wed Jun 22 14:12:47 2016 -0700

----------------------------------------------------------------------
 dashboardv2/public/js/views/graph/LineageLayoutView.js | 6 +++++-
 release-log.txt                                        | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/8cce9a9f/dashboardv2/public/js/views/graph/LineageLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/graph/LineageLayoutView.js 
b/dashboardv2/public/js/views/graph/LineageLayoutView.js
index c4796d9..ecbbe51 100644
--- a/dashboardv2/public/js/views/graph/LineageLayoutView.js
+++ b/dashboardv2/public/js/views/graph/LineageLayoutView.js
@@ -210,7 +210,11 @@ define(['require',
                                     if (!obj[val1]) {
                                         that.startingPoint.push(val1);
                                     }
-                                    that.edgesAndvertices.edges[val1] = [key];
+                                    if (that.edgesAndvertices.edges[val1]) {
+                                        
that.edgesAndvertices.edges[val1].push(key);
+                                    } else {
+                                        that.edgesAndvertices.edges[val1] = 
[key];
+                                    }
                                 });
                             });
                         } else {

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/8cce9a9f/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index fdcd886..0813495 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
 
 
 ALL CHANGES:
+ATLAS-920 Lineage graph is broken when there are multiple paths from same 
source table (kevalbhatt18 via sumasai)
 ATLAS-940 Type cache implementation property name in 
atlas-application.properties is incorrect ( dkantor via sumasai)
 ATLAS-925 Change master version to 0.8-incubating (shwethags)
 

Reply via email to