Project

General

Profile

Actions

Bug #67172

closed

AdoDB error on editing a page

Added by alexis nicolas over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2015-05-27
Due date:
% Done:

100%

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

Description

In dev master using postgresql (with dbal and adodb), when clicking on Edit page properties in BE I get this error:

#1421053336: ADOdb could not run this query: SELECT "uid" FROM "sys_category" WHERE FIND_IN_SET('0', "parent") != 0 OR "parent" = ''

This error is thrown by a "if (!is_object($sqlResult))" test ($sqlResult is a huge amount of "object(ADORecordSet_postgres8)" whereas it should be, I presume, one single object).
I can't locate where this $sqlResult comes from.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #67155: Invalid SQL Query for sys_categoriesClosed2015-05-26

Actions
Related to TYPO3 Core - Bug #46271: DB-error with postgreSQLClosed2013-03-14

Actions
Actions #1

Updated by alexis nicolas over 9 years ago

Additional information:

Script mod.php?M=record_edit&moduleToken=8122495a9af184a42f55f1a33fe13fd6012a2294&edit[pages]112=edit&returnUrl=/TYPO3.CMS/typo3/mod.php?M=Dweb_layout/moduleToken=D0fb5f69ddc295f9dcc6263262f151a9c54613b9e&id=112 returns a 500 error whereas I'm on a localhost.

PostrgreSQL log returns:

function find_in_set(unknown, bigint) doesn't exist
No function matches given name and argument type
You must add explicit type cast

Actions #2

Updated by alexis nicolas over 9 years ago

  • % Done changed from 0 to 100

Solution given in #46271 works here.

Actions #3

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #4

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #5

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #7

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #8

Updated by Gerrit Code Review over 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #9

Updated by Gerrit Code Review over 9 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39779

Actions #10

Updated by Morton Jonuschat over 9 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41842

Actions #12

Updated by Morton Jonuschat over 9 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF