Bug #53077

Installation/uninstallation silently fails if PackageStates.php is not writable

Added by Stefan Rotsch almost 2 years ago. Updated over 1 year ago.

Status:Resolved Start date:2013-10-23
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:- Spent time: -
Target version:-
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

Description

Given I would like to install/uninstall an extension
and PackageStates.php is not writable
the process silently fails (BE reloads the extension list, CLI exits without any message)

With TYPO3 4.x, there was an error message shown when trying to install/uninstall an extension and localconf.php was not writable. I would find it useful to have this "feature" back in 6.2

I'll push a patch to Gerrit with a first attempt to solve this. As it requires a modification to the PackageManager, I'm not sure if that's the way to go, so feedback is appreciated.


Related issues

related to TYPO3.Flow - Bug #53238: Throw exception if PackageStates.php is not writeable Resolved 2013-10-30
related to Core - Bug #53410: PackageManager can't create necessary file Resolved 2013-11-07

Associated revisions

Revision 1ef58ea6
Added by Stefan Rotsch over 1 year ago

[BUGFIX] Show flash message if package states are not writable

When trying to install/uninstall an extension and PackageStates.php
is not writable, an error flash message is shown.

Resolves: #53077
Releases: 6.2
Change-Id: I71bba56361a4cc85fb253199acbfee5829defa29
Reviewed-on: https://review.typo3.org/24975
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24975

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24975

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24975

#4 Updated by Stefan Rotsch over 1 year ago

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

Also available in: Atom PDF