Issue #1780424 by webankit, GaëlG, marcusx, Paul B, mikran: Fixed views relationships from relation base to endpoints and the other way around.