Actions
Bug #18554
closednot longer possible to use non-integer uids for fake treeitems in class.t3lib_treeview.php [has fix]
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-04-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Due to a codechange in 4.1.x it's no longer possible to use non-integer uid values for the tree-data. When a non-integer value is used, a TYPO3 error is shown and the script is exiting/crashing. In my case I'm using a mixture of strings and integers as keys (alphabetic grouped usernames) and since I updated to TYPO3 4.1.x this is no longer possible (worked with 4.0.2 f.e.).
The line causing this is line 773 of class.t3lib_treeview.php (current SVN, TYPO3 4.2 trunk):
if ($newID==0) {
This line has to be changed in one of the two ways in order to get this back working:
a) if ($newID=='0') {
b) if(empty($newID) {
Would be nice if this could be changed to get it working again.
(issue imported from #M8006)
Actions