mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3230: Bug in clear cache #4001
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 (Jul 25, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user flip101:
php app/console doctrine:cache:clear-metadata php app/console doctrine:cache:clear-query php app/console doctrine:cache:clear-result php app/console cache:clear --env=prod --no-debug <-- error on this commandProperty Entity::$deleted does not exist
Trace:
@doctrinebot commented on GitHub (Nov 30, 2014):
Comment created by everheij:
As a workaround I figured out that when you add the --flush flag it works as expected. You can read some documentation about what's going in this file; https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Tools/Console/Command/ClearCache/MetadataCommand.php#L44.
orm:clear-cache:metadata --flush