[BUGFIX] QueryGenerator getTreeList negative ids 31/32331/2
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:26 +0000 (14:39 +0200)
commita75aec4da98bd3fce8c6029f83b81497f3ef45c6
tree4cd676c5cb15313e6675a84612110049b82cef9a
parent3df5f98e8213cd2f1c36dcf2def048ce766887fe
[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/32331
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