Bug #37607
PackageStates are overwritten on each request
| Status: | Resolved | Start date: | 2012-05-30 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Christopher Hlubek | % Done: | 100% |
|
| Category: | Package | |||
| Target version: | - | |||
| PHP Version: | Complexity: | |||
| Has patch: | No | FLOW3 version affected: | Git 1.1 | |
| Votes: | 0 |
Description
The PackageStates.php is updated on each request (did test that with empty caches) because the package directory cannot be found using the condition
if (!file_exists($configuration['packagePath'])) {
...
This results in packages not being configurable (deactivating packages is not possible).
Associated revisions
[BUGFIX] Keep existing PackageStates.php
A wrong check for the existence of the configured "packagePath" caused
the loss of custom package states configuration on every request in
development mode or initially in production.
Change-Id: I330e3b5c3ddd9f15a2b6f4131bd6d11502b1888c
Resolves: #37607
Releases: 1.1, 1.2
[BUGFIX] Keep existing PackageStates.php
A wrong check for the existence of the configured "packagePath" caused
the loss of custom package states configuration on every request in
development mode or initially in production.
Change-Id: I330e3b5c3ddd9f15a2b6f4131bd6d11502b1888c
Resolves: #37607
Releases: 1.1, 1.2
History
Updated by Christopher Hlubek 12 months ago
- Status changed from New to Accepted
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/11733
Updated by Gerrit Code Review 12 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/11734
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/11733
Updated by Christopher Hlubek 12 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 166b44e139b7d93dd001ff9bd6502ce43a88cb06.