Project

General

Profile

Actions

Bug #22468

closed

Function tslib_cObj::getTreeList() inserts records with empty PK

Added by Dmitry Dulepov over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-04-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If passed id is not numeric, the function will incorrectly insert a record to the database with an empty primary key. This happens because insert block is outside of the condition that checks the validity of the id.

(issue imported from #M14129)


Files

14129.diff (1.22 KB) 14129.diff Administrator Admin, 2010-04-15 16:05

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19621: getTreeList causes duplicate entry sql errorClosedRupert Germann2008-11-18

Actions
Actions #1

Updated by Dmitry Dulepov over 14 years ago

rev 7387 and 7386

Actions

Also available in: Atom PDF