Project

General

Profile

Actions

Bug #26856

closed

parseFromTables() in class.t3lib_sqlparser.php fails with "schema.table" definitions as usual for PostgreSQL

Added by Mungan over 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2011-05-17
Due date:
2011-05-17
% Done:

0%

Estimated time:
0.00 h
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Many extension writers make use of Typo3 parsing function

parseFromTables() in

class.t3lib_sqlparser.php

and whereever this function is in use it is unable to pass
schema qualified table names.

Reason for this is the "." that needs to be respected.

So BUGFIX could be to change the regular expression in the following line 984 as
follows:

if ($stack[$pnt]['table'] = $this->nextPart($parseString, '^([[:alnum:]_.]+)(,|[[:space:]]+)')) {

I think this is quite severe for any PostgreSQL users out there
using the 4.5 Long Term Support.

Please put something like this line into the trunk.

Actions

Also available in: Atom PDF