[BUGFIX] Database query error for non-workspaces tables 57/29657/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 14:47:56 +0000 (16:47 +0200)
commit9991d2c4bd03f35157686306f4456476f2d48f20
treebe27013489e801720fdb57fbb20e7ff9f2fe60a1
parent251d565bfbca83f788ce41d7a4e537d3a9f17df9
[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/29657
Reviewed-by: Wouter Wolters
Reviewed-by: Markus Klein
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/frontend/Classes/Page/PageRepository.php