[BUGFIX] Enable some support for workspace previews
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 11 Jun 2011 22:42:37 +0000 (00:42 +0200)
committerJochen Rau <jochen.rau@typoplanet.de>
Fri, 3 Feb 2012 17:33:35 +0000 (12:33 -0500)
commite9edf3d515ffdd7f1814ed57c43991cd2e357281
tree8a91bcada9186f862fd6414fe05d2da22162cb35
parent5821891d48fed79492be78930a538be765634b83
[BUGFIX] Enable some support for workspace previews

The Extbase DB Backend does a versioning overlay, however due to the
relevant table almost never being "pages" the relevant uid is saved
to "_ORIG_uid" instead of applying it to the row. This page writes
back "_ORIG_uid" in those cases, which seems to enable previews to a
usable level.

Thanks to Patrick Schriner.

Change-Id: I4de65643057da6d8cc2b0dc608ed69be4fc73ea7
Resolves: #26732
Relates: #7078
typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
typo3/sysext/extbase/Tests/Unit/Persistence/Storage/Typo3DbBackendTest.php