Project

General

Profile

Actions

Bug #17392

closed

DBAL debugger causes backend INSERTs to fail or misbehave

Added by Marcel Gsteiger about 17 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2007-06-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When the DBAL debugger is active, backend inserts into tables cease to work properly. When the TCA has a ['ctrl']['type'] section and the value of the ['type'] field changes, the BE normally inserts a newly entered record and then repositions to the proper uid.

When the DBAL debugger is enabled, you get the error

Sorry, you didn't have proper permissions to perform this change.

instead (or a completely wrong record, depending on the table sizes).

Some analysis reveals that the last_insert_id does not return the correct value anymore. Obviously now the last_insert id for the debugger log entry is returned (instead the insert id for the record of the user table).

Perhaps the DBAL debugger uses the same mysql connection resource, this could explain this behaviour.
(issue imported from #M5810)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #17235: Sorry, you didn't have proper permissions to perform this change.Closed2007-04-24

Actions
Actions

Also available in: Atom PDF