Bug #37223
Packages can be frozen in Production Context
Status: | Resolved | Start date: | 2012-05-16 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | 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 | Affected Flow version: | FLOW3 1.1.0 beta 1 |
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
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
[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
#1 Updated by Karsten Dambekalns about 3 years ago
- Target version changed from 1.1 beta 2 to 1.1 RC1
#2 Updated by Karsten Dambekalns about 3 years ago
- Status changed from New to Accepted
- Assigned To set to Karsten Dambekalns
#3 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/11830
#4 Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11830
#5 Updated by Gerrit Code Review about 3 years 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
#6 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3bfddf0331b9a7df4272d367f104975ea5a118e4.
#7 Updated by Karsten Dambekalns about 3 years ago
- Target version changed from 1.1 RC1 to 1.1 beta 3