Bug #65629

Regression in page module in workspace (Fatal error: Call to a member function isCached() on a non-object i)

Added by Tymoteusz Motylewski over 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-03-09
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

Description

Steps to reproduce:
1. Switch from Live workspace to some workspace
2. go to page module
3. select some page
4. you will see a fatal error

Fatal error: Call to a member function isCached() on a non-object in typo3/sysext/extbase/Classes/Mvc/Web/Routing/UriBuilder.php on line 550

Git bisect pointed me to this commit:
3ab6f2a08283041d52a05db3e26817c66024da88

http://review.typo3.org/31594


Related issues

Related to TYPO3 Core - Bug #60272: Skip cache hash for URIs to non-cacheable actions Closed 2014-07-11

Associated revisions

Revision 6af22719 (diff)
Added by Tymoteusz Motylewski over 4 years ago

[FOLLOWUP][BUGFIX] Skip cache hash for URIs to non-cacheable actions

Fix fatal error in page module when user is in some workspace

Resolves: #65629
Relates: #60272
Releases: master
Change-Id: I05a6b3bdccff8bfc49ff0c0619ee5db5e4de1a22
Reviewed-on: http://review.typo3.org/37675
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Nicole Cordes <>
Reviewed-by: Tymoteusz Motylewski <>
Tested-by: Tymoteusz Motylewski <>
Reviewed-by: Helmut Hummel <>
Tested-by: Helmut Hummel <>

History

#1 Updated by Tymoteusz Motylewski over 4 years ago

generateWorkspaceSplittedPreviewLink method from the workspaceService is calling uriBuilder->uriFor, without setting the request object before.

#2 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37675

#3 Updated by Tymoteusz Motylewski over 4 years ago

  • Sprint Focus set to Remote Sprint

#4 Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37675

#5 Updated by Tymoteusz Motylewski over 4 years ago

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

#6 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF