id summary reporter owner description type status priority milestone component version resolution keywords cc 3046 topology.GetRingEdges return wrong ring when edge.next_left/right = edge remic strk "The problem is reproducible by creating a topology like the polar stars constellation (a square of 4 edges + a tail of on edge connected to the square). When using GetRingEdges(tail), we loop in the same order as when using GetRingEdges(-tail). We should have 2 different direction of looping (which is the case when using the function or normal edges) I don't understand recursive CTE enough to correct it myself Here is what the function returns : GetRingEdges(-574) -574 574 576 575 GetRingEdges(574) 574 576 575 -574 The two correct ring should be : (starting from 576 and -576) 576 575 -574 574 -576 -575 Rémi-c" defect closed medium topology 2.1.x invalid