Skip to content
This repository was archived by the owner on Mar 1, 2018. It is now read-only.
This repository was archived by the owner on Mar 1, 2018. It is now read-only.

preDqlSelect should check relation is LooselyCoupled to it's invoker, and not assume all LooselyCoupleable objects are. #11

Description

@benlumley

Hello .... Me again...

Thought of another bug.

Unlikely, but if someone has a schema with an object that has a loosely coupled relation, and another loosely coupleable object that is joined normally (like I say, unlikely, but people do crazy things), it's going to add the obj_type clause to the normal relation.

I think checking whether the field for the relation on the LooselyCouplable object should be a fix for this - will add it to the pull when I'm at home (unless I'm beaten to it).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions