mirror of
https://github.com/doctrine/orm.git
synced 2026-04-25 15:38:10 +02:00
DDC-147: AnnotationDriver::preload needs caching #183
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 15, 2009).
Jira issue originally created by user mcurcio:
I discovered this issue when running the cli/schema-tool and getting a message that there are "no classes to process". It appears that preload() is called within ORM\Mapping\ClassMetadataFactory first, which is causing the preload in schemaToolTask to return no classes. Perhaps preload() should keep a record of previously loaded models?
@doctrinebot commented on GitHub (Nov 16, 2009):
Comment created by @beberlei:
We plan to refactor away from preload to a loadAll() for the next release, we have seen this issue before.
As a workaround you should be good by setting no metadata cache in the cli-config.php.
@doctrinebot commented on GitHub (Dec 15, 2009):
Comment created by romanb:
PRELOAD mode removed. ClassMetadataFactory#getAllMetadata introduced.
@doctrinebot commented on GitHub (Dec 15, 2009):
Issue was closed with resolution "Fixed"