Bug #26903
Flush Doctrine metadata cache with FLOW3 caches
Status: | Resolved | Start date: | 2011-05-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Persistence | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 beta 3 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Git 1.1 |
Description
When the FLOW3 caches are flushed, the Doctrine caches should also be flushed, and when we compile new metadata as well.
Associated revisions
[BUGFIX] Purge Doctrine proxies that are no longer needed
With this change the proxy target directory is emptied before
Doctrine proxies are (re)built, removing outdated proxy classes.
This solves fatal errors when (proxied) classes are removed, and
thus can no longer be found when referenced from their heirs.
Change-Id: I38037c323411be698fb2391ce65ad2b7f95defbb
Fixes: #26903
Releases: 1.1, 1.2
[BUGFIX] Purge Doctrine proxies that are no longer needed
With this change the proxy target directory is emptied before
Doctrine proxies are (re)built, removing outdated proxy classes.
This solves fatal errors when (proxied) classes are removed, and
thus can no longer be found when referenced from their heirs.
Change-Id: I38037c323411be698fb2391ce65ad2b7f95defbb
Fixes: #26903
Releases: 1.1, 1.2
History
#1 Updated by Christopher Hlubek about 4 years ago
One note about the Doctrine Cache: if APC is used and data / schema is changed from the command-line, the APC cache of the webserver cannot be flushed.
#2 Updated by Karsten Dambekalns about 4 years ago
- Target version set to 1230
Christopher Hlubek wrote:
if APC is used … from the command-line, the APC cache of the webserver cannot be flushed.
Thanks for the hint! No way?
#3 Updated by Karsten Dambekalns almost 4 years ago
- Target version deleted (
1230)
#4 Updated by Karsten Dambekalns over 3 years ago
- Has patch set to No
Metadata is a problem that is probably solved, but proxy classes stay around for too long. I deleted a package and the Doctrine-built proxy was not removed…
#5 Updated by Karsten Dambekalns over 3 years ago
- Target version set to 1.1
#6 Updated by Karsten Dambekalns about 3 years ago
- Tracker changed from Feature to Bug
- Affected Flow version set to Git 1.1
#7 Updated by Karsten Dambekalns about 3 years ago
- Target version changed from 1.1 to 1.1 RC1
#8 Updated by Gerrit Code Review about 3 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11832
#9 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2f2e3fc0d236a68485f6fc5c682c7d460549f0c6.
#10 Updated by Gerrit Code Review about 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/11989
#11 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset 13220e0e23602d7a70e2ffdf1ebd1928a300d040.
#12 Updated by Karsten Dambekalns about 3 years ago
- Target version changed from 1.1 RC1 to 1.1 beta 3