Bug #37607

PackageStates are overwritten on each request

Added by Christopher Hlubek about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-05-30
Priority:Must have Due date:
Assigned To:Christopher Hlubek % Done:

100%

Category:Package
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git 1.1

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

Revision d8bb6a46
Added by Christopher Hlubek about 3 years ago

[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

Revision 166b44e1
Added by Christopher Hlubek about 3 years ago

[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

#1 Updated by Christopher Hlubek about 3 years ago

  • Status changed from New to Accepted

#2 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/11733

#3 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/11734

#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/11733

#5 Updated by Christopher Hlubek about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF