[BUGFIX] Workspace not always applied in RelationHandler queries 85/31285/3
authorOliver Hader <oliver@typo3.org>
Wed, 2 Jul 2014 09:28:32 +0000 (11:28 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 2 Jul 2014 10:30:41 +0000 (12:30 +0200)
commit94ff67e802e287dd1ac0a46de211c589eeca3828
treed36c320fdde68e423903e0c183e50874380852b7
parentea61ec7ea9af8d4d8a57ef21086732463bf90a2b
[BUGFIX] Workspace not always applied in RelationHandler queries

The possibly submitted value to RelationHandler::setWorkspaceId()
is not used for SQL queries to read IRRE foreign field relations.
In that case the current $BE_USER->workspace value is used which
might be different to the requested workspace id.

Resolves: #60053
Releases: 6.2, 6.3
Change-Id: Ib01e4df798ff2e1fcc8c29997f6effb814dc4344
Reviewed-on: https://review.typo3.org/31285
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Database/RelationHandler.php