[BUGFIX] Database query error for non-workspaces tables 58/29658/2
authorOliver Hader <oliver@typo3.org>
Fri, 25 Apr 2014 13:36:41 +0000 (15:36 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 25 Apr 2014 15:17:51 +0000 (17:17 +0200)
commit8cf4f78f34b7436917253d44c599362e3168f26d
tree0406ef5d2622ab03e2d0e93b3803f92ea0746471
parenta4f013a4d9c9e801e70cd9a275927c1a58b849f9
[BUGFIX] Database query error for non-workspaces tables

In frontend rendering mode PageRepository::versionOL() is called
frequently to overlay workspace data. A further method call then
creates a query with required t3ver_* fields. This query fails
if a table is not considered to support workspaces/versioning at
all. This behaviour is regression that has been introduced with
issue #30604 during TYPO3 4.7 development.

Resolves: #58180
Releases: 6.2, 6.1, 6.0
Change-Id: I81d24ea16116563f4f0d75fafd06496a9c4e993d
Reviewed-on: https://review.typo3.org/29658
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/frontend/Classes/Page/PageRepository.php