Project

General

Profile

Actions

Bug #56068

closed

typolink.returnLast = url prevents override?

Added by Alexander Rothmund about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2014-02-18
Due date:
% Done:

0%

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

Description

I have the following TS:

page = PAGE
page {
  10 = COA
  10 {
    10 = TEXT
    10 {
      typolink.parameter = 2
      override.cObject = TEXT
      override.cObject.typolink.parameter = 3
    }
  }
  20 = COA
  20 {
      10 = TEXT
    10 {
      typolink.parameter = 2
      typolink.returnLast = url
      override.cObject = TEXT
      override.cObject.typolink.parameter = 3
      override.cObject.typolink.returnLast = url
    }
  }
}

I expect the first to be an anchor tag and the second to be a plain text URL, both pointing to the page with the ID 3.

However, what is actually happening is that the second link points to the page with the ID 2. The override does not happen.

Is this intended behavior? Does returnLast prevent overriding? What is happening here?

I tested in both 4.5 and 6.2beta4

Actions

Also available in: Atom PDF