DDC-20: CLONE -cache problem with joined tables and external data change #2676

Closed
doctrinebot opened this Issue Sep 24, 2009 · 3 comments

1 participant

@doctrinebot

Jira issue originally created by user psycon:

Doctrine doesn't invalidate cache properly. Queries like the one below has the second table taken from cache and it shouldn't.

$comp = Doctrine_Query::create()
            ->select('a.**, s.**')
            ->from('AttachedComponents a, a.SubscriptionComponents s')
            ->fetchOne();

In bug [DC-24] the advice is to select id of second table, I selected all fields in second table but doctrine doesn't seem to notice foreign key has changed.

@doctrinebot

Comment created by romanb:

After some researh this is desired behavior. However, parts of a consistent implementation of this behavior are still incomplete as described in DDC-21 and DDC-22.

@doctrinebot

Issue was closed with resolution "Won't Fix"

@doctrinebot doctrinebot added this to the 2.0-ALPHA2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment