Bug #37223
Packages can be frozen in Production Context
| Status: | Resolved | Start date: | 2012-05-16 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Karsten Dambekalns | % Done: | 100% |
|
| Category: | Package | |||
| Target version: | TYPO3 Flow Base Distribution - 1.1 beta 3 | |||
| PHP Version: | 5.3 | Complexity: | medium | |
| Has patch: | No | FLOW3 version affected: | FLOW3 1.1.0 beta 1 | |
| Votes: | 0 |
Description
Packages should not be freezable in Production - and probably they are behaving correctly already. However, when flushing the caches for example in Production context, a list of frozen packages will be displayed.
Investigate if this is only a display issue in that command or if packages are truly handled as frozen in Production (which would be wrong). cache:flush in Production should flush all caches.
Related issues
| related to TYPO3.Flow - Bug #37574: ReflectionData is not regenerated automatically | Resolved | 2012-07-26 |
Associated revisions
[BUGFIX] Packages can be frozen in Development only
Freezing packages was not possible in other contexts than Development
with the related commands. But if a package was frozen according to
PackageStates.php, it would advertise itself as frozen in all contexts.
While this did not seem to have any real effects, it caused confusing
output with the cache:flush command in Production context.
This change makes the Package class ignore the frozen state in any
context except Development and adds a check in the freezePackage()
method of the PackageManager.
Change-Id: I9c370b89e5c76ced6e6a309bd90ab4115608949a
Fixes: #37223
Releases: 1.1, 1.2
History
Updated by Karsten Dambekalns 12 months ago
- Target version changed from 1.1 beta 2 to 1.1 RC1
Updated by Karsten Dambekalns 12 months ago
- Status changed from New to Accepted
- Assignee set to Karsten Dambekalns
Updated by Gerrit Code Review 12 months 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/11830
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11830
Updated by Gerrit Code Review 11 months ago
Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/11988
Updated by Karsten Dambekalns 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3bfddf0331b9a7df4272d367f104975ea5a118e4.
Updated by Karsten Dambekalns 11 months ago
- Target version changed from 1.1 RC1 to 1.1 beta 3