[BUGFIX] QueryGenerator getTreeList negative ids 19/31919/3
authorKlaas Johan Kooistra <k.kooistra@youwe.nl>
Thu, 31 Jul 2014 09:39:39 +0000 (11:39 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 23 Aug 2014 12:39:07 +0000 (14:39 +0200)
commitf1089a80b6e2faf9b1eb56d5a1703135f6c7d446
treefdd93006d8cf7af632ed2d9b8b59a62d3a448b6b
parent9ec2eaf6ef89a9c112022047ebed1ac48c08b89b
[BUGFIX] QueryGenerator getTreeList negative ids

When persistence.recursive is configured when using a command controller no
records can be retrieved because the storagePid is negated in the
AbstractConfigurationManager, while claiming all implementations of getTreeList
support negative ids. Using abs() on the id when it is negative fixes this.
Also see the ContentObjectRenderer implementation of getTreeList

Change-Id: I7732290126a83a79204b8224d52a3cd878360e64
Resolves: #60697
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/31919
Reviewed-by: Peter Beernink <p.beernink@youwe.nl>
Tested-by: Peter Beernink <p.beernink@youwe.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Database/QueryGenerator.php
typo3/sysext/core/Classes/Database/QueryView.php