Feature #21892

Substitution of default markers is not available as single function

Added by David Bruchmann almost 12 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-12-29
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

in the function t3lib_befunc::exec_foreign_table_where_query a lot of default markers (like CURRENT_PID, etc.) are replaced.
It would be useful to have this substitution available as single function, so that it can be called without extecuting some query.
Furthermore the function for substitution should be integrated in t3lib_div because it's a very basic purpose and hasn't logically to be restricetd to backend.

(issue imported from #M13114)


Related issues

Related to TYPO3 Core - Bug #50976: Mixed up parameters in call to replaceMarkersInWhereClauseClosedAnja Leichsenring2013-08-09

Actions
#1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22661

#2

Updated by Gerrit Code Review about 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22661

#3

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22661

#4

Updated by Gerrit Code Review about 8 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22661

#5

Updated by Nicole Cordes about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Kim Lang about 8 years ago

  • Target version deleted (0)

this patch breaks the functionality of the complete BE.
I am not able to edit the page headers anymore.

The error: you give the wrong parameter order:

you call:
static::replaceMarkersInWhereClause($fTWHERE, $field, $TSconfig, $foreign_table)

function:
function replaceMarkersInWhereClause($whereClause, $table, $field = '', $tsConfig = array())

#7

Updated by Anja Leichsenring about 8 years ago

  • TYPO3 Version changed from 4.3 to 6.2

Fix is on the way, thank you for reporting the error. Find it here: http://forge.typo3.org/issues/50976

#8

Updated by Benni Mack about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF