Project

General

Profile

Actions

Feature #21892

closed

Substitution of default markers is not available as single function

Added by David Bruchmann over 14 years ago. Updated over 5 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Gerrit Code Review over 10 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

Actions #2

Updated by Gerrit Code Review over 10 years ago

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

Actions #3

Updated by Gerrit Code Review over 10 years ago

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

Actions #4

Updated by Gerrit Code Review over 10 years ago

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

Actions #5

Updated by Nicole Cordes over 10 years ago

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

Updated by Kim Lang over 10 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())

Actions #7

Updated by Anja Leichsenring over 10 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

Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF