Project

General

Profile

Actions

Bug #18167

closed

DBAL bug while using IN() functions

Added by Claus Jul almost 17 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2008-02-08
Due date:
% Done:

0%

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

Description

I've discovery an bug in DBAL when I use limited permissions for the user. I get an error in the BE:

Unknown column 'rAr' in 'where clause' This may indicate a table defined in tables.php is not existing in the database.

The reason is the where string which contains the ' in(rAr) ' and the rAr came from the Array.

In line 2309 in the class.ux_t3lib_db.php i added the

if (is_array($vv)) {
$vv = join(',',$vv);
}

and it's working fine again.
}

(issue imported from #M7455)

Actions #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF