Bug #68188

ContentObject registration only available in TYPO3_mode == FE

Added by Steffen Ritter over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
Start date:
2015-07-15
Due date:
% Done:

100%

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

Description

In Ticket #64386 a new API for registering own TypoScript content-object has been introduced.
While doing this the registration of core ContentObjects has been done only for TYPO3_mode == FE.

As a result there are no Core ContentElements available wenn using ContentObjectRenderer in CLI or Backend Context.

This breaks extensions like EXT:solr which use ContentObjectRenderer to create data.


Related issues

Related to TYPO3 Core - Feature #64386: Allow cObject registration during runtime Closed 2015-01-20
Related to TYPO3 Core - Bug #67556: System news cannot render RTE content Under Review 2015-06-17

Associated revisions

Revision 69928c63 (diff)
Added by Steffen Ritter over 3 years ago

[BUGFIX] Restore Content Objects in all TYPO3_mode cases

When #64386 introduced a new API for registering ContentOjects
the registration of the existing core-shipped ContentObjects
was wrapped in a "if (TYPO3_mode == FE)" clause.

This results in an empty set of ContentObjects in CLI or
Backend context.

Resolves: #68188
Releases: master
Change-Id: Iabf63ae6d861aab1f9e744cf66f3438dec78c300
Reviewed-on: http://review.typo3.org/41361
Reviewed-by: Benjamin Mack <>
Tested-by: Benjamin Mack <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted 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/41361

#2 Updated by Gerrit Code Review over 3 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/41361

#3 Updated by Gerrit Code Review over 3 years ago

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

#4 Updated by Steffen Ritter over 3 years ago

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

#5 Updated by Alexander Jahn over 3 years ago

This also fixes some parts of https://forge.typo3.org/issues/67556

#6 Updated by Riccardo De Contardi over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF