Bug #51733
Fatal Error in Install Tool after Upgrading from 6.0.8 to 6.0.9
Status: | Resolved | Start date: | 2013-09-04 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | next-patchlevel | |||
TYPO3 Version: | 6.0 | Is Regression: | Yes | |
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
Description
After Upgrading from 6.0.8 to 6.0.9, I cannot run the "Migrate all file relations from tt_content.image and pages.media" upgrade wizard. It fails with following fatal error:
Fatal error: Call to a member function isAdmin() on a non-object in /path/to/TYPO3/6.0.9/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php on line 76
Related issues
Associated revisions
[BUGFIX] Do not register storage factory slot during install
In install tool context TYPO3_MODE is set to BE
but there is no backend user initialized.
Because of that the storage permission aspect
fails as it requires a valid backend user object.
Do not register the slot when in install tool context.
Releases: 6.0, 6.1, 6.2
Resolves: #51733
Change-Id: I2da95ccd357b730b97bcf99bef21b18c04469274
Reviewed-on: https://review.typo3.org/23621
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Do not register storage factory slot during install
In install tool context TYPO3_MODE is set to BE
but there is no backend user initialized.
Because of that the storage permission aspect
fails as it requires a valid backend user object.
Do not register the slot when in install tool context.
Releases: 6.0, 6.1, 6.2
Resolves: #51733
Change-Id: I45090b389ba8c641ba49e9f8e59004aac47853e7
Reviewed-on: https://review.typo3.org/23653
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
[BUGFIX] Do not register storage factory slot during install
In install tool context TYPO3_MODE is set to BE
but there is no backend user initialized.
Because of that the storage permission aspect
fails as it requires a valid backend user object.
Do not register the slot when in install tool context.
Releases: 6.0, 6.1, 6.2
Resolves: #51733
Change-Id: I2da95ccd357b730b97bcf99bef21b18c04469274
Reviewed-on: https://review.typo3.org/23654
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
History
#1 Updated by Christian Futterlieb almost 2 years ago
This applies for TYPO3 6.1.4 as well
#2 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/23621
#3 Updated by Helmut Hummel almost 2 years ago
Christian Futterlieb wrote:
This applies for TYPO3 6.1.4 as well
Can you check if https://review.typo3.org/23621 solves your problem?
Don't forget to clear the cache (typo3temp/Cache/) after applying the fix, as ext_localconf.php files are cached.
#4 Updated by Ernesto Baschny almost 2 years ago
- Category changed from Install Tool to 1394
#5 Updated by Bas van Beek almost 2 years ago
The following patch: https://review.typo3.org/23621 fixed the issue with the error:
mod_fcgid: stderr: PHP Fatal error: Call to a member function isAdmin() on a non-object in typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/Security/StoragePermissionsAspect.php on line 76
(TYPO3 4.1.4)
#6 Updated by Ernesto Baschny almost 2 years ago
- Target version set to next-patchlevel
#7 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/23621
#8 Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/23653
#9 Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/23654
#10 Updated by Helmut Hummel almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 990cd92c729d0c70142eba5b6b4ee8609442fb23.
#11 Updated by Ernesto Baschny almost 2 years ago
- Is Regression set to Yes
#12 Updated by Ernesto Baschny almost 2 years ago
- Category changed from 1394 to File Abstraction Layer (FAL)