Bug #38977

FAL AdapterService fails with Fluid

Added by Benjamin Mack 10 months ago. Updated 10 months ago.

Status:Resolved Start date:2012-07-16
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

100%

Category:File Abstraction Layer (FAL)
Target version:-
TYPO3 Version:6.0 Complexity:
PHP Version:
Votes: 0

Description

FAL introduced an adapterservice to migreate certain fields to FAL style. The adapterservice uses type hinting to suggest $row of tslib_content always to be an array. However, when e.g. calling tslib_content from an extension or Fluid, it is common to have $row as NULL or empty, so the additional check is removed.

Associated revisions

Revision 0cbce0c7
Added by Benjamin Mack 10 months ago

[BUG] FAL AdapterService fails with Fluid

FAL introduced an adapterservice to migrate certain
fields to FAL style. The adapterservice uses type hinting
to suggest $row of tslib_content always to be an array.
However, when e.g. calling tslib_content from an
extension or Fluid, it is common to have $row
as NULL or empty, so the additional check
is removed.

Change-Id: I4b5f0231d3c8c2d9f3ec6d2f6a7a3a1b85775673
Resolves: #38977
Reviewed-on: http://review.typo3.org/12813
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht

Revision 9df8bb98
Added by Benjamin Mack 10 months ago

[BUG] FAL AdapterService fails with Fluid

FAL introduced an adapterservice to migrate certain
fields to FAL style. The adapterservice uses type hinting
to suggest $row of tslib_content always to be an array.
However, when e.g. calling tslib_content from an
extension or Fluid, it is common to have $row
as NULL or empty, so the additional check
is removed.

Change-Id: I4b5f0231d3c8c2d9f3ec6d2f6a7a3a1b85775673
Resolves: #38977
Reviewed-on: http://review.typo3.org/12813
Reviewed-by: Michael Staatz
Tested-by: Michael Staatz
Reviewed-by: Ingmar Schlecht
Tested-by: Ingmar Schlecht

History

Updated by Benjamin Mack 10 months ago

  • Subject changed from FAL AdapterService with Fluid to FAL AdapterService fails with Fluid

Updated by Gerrit Code Review 10 months ago

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

Updated by Benjamin Mack 10 months ago

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

Also available in: Atom PDF