[+BUGFIX] Extbase (Persistence): Hidden Records in Workspaces now work
authorSebastian Kurfürst <sebastian@typo3.org>
Wed, 12 Jan 2011 05:02:08 +0000 (05:02 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Wed, 12 Jan 2011 05:02:08 +0000 (05:02 +0000)
commit78f1970aae4cebe1613fe52256ec8ffb1a85320b
tree4a891dbfefa405cfca0a43d2cd39f380e0fabf86
parentf3605fcf2800efa23b045b04a68e251cf351f0b4
[+BUGFIX] Extbase (Persistence): Hidden Records in Workspaces now work

Before, if t3lib_pageSelect::getRecordOverlay returned FALSE (if
no translation is found), a fatal error occured:
PHP Catchable Fatal Error: Argument 2 passed to Tx_Extbase_Persistence_Mapper_DataMapper::getTargetType()
must be an array, boolean given, called in Persistence/Mapper/DataMapper.php

The patch fixes the issue.

Thanks to Michael Voehringer for the bugfix!

Resolves: #8679
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php