Issue Bug Closed

#56068typolink.returnLast = url prevents override?

Alexander Rothmund 02/18/14, 10:02 updated 01/02/15, 11:39

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.