Project

General

Profile

Actions

Bug #45826

closed

Problem with typo3\sysext\core\Classes\Resource\FileRepository.php and PostgreSQL

Added by Gerald Buttinger about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-02-25
Due date:
% Done:

100%

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

Description

in file typo3\sysext\core\Classes\Resource\FileRepository.php line 154 looks like this:

sprintf('storage=%u AND identifier LIKE "%s" AND NOT identifier LIKE "%s"',

since strings must be encapsulated with single quotes - and not double quotes - in postgres, this line should look like this:

sprintf("storage=%u AND identifier LIKE '%s' AND NOT identifier LIKE '%s'",

Files

45826.diff (1.03 KB) 45826.diff Dmitry Dulepov, 2013-02-27 07:59
Actions

Also available in: Atom PDF