Project

General

Profile

Actions

Bug #88915

closed

f:uri.action ignores pageUid

Added by Jonas Eberle over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2019-08-04
Due date:
% Done:

100%

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

Description

    always link to same page:
    <f:uri.action pageUid="84" action="show" />

    <f:link.action pageUid="84" action="show" >
        correct link
    </f:link.action>

Minimal test case: add a page with uid=2, then add this TypoScript on another page:

page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {
  template = TEXT
  template.value (
    Uri:   <f:uri.action pageUid="2" extensionName="ext" pluginName="myPlugin" controller="controller" action="show" />
    <br>
    Link: <f:link.action pageUid="2" extensionName="ext" pluginName="myPlugin" controller="controller" action="show">link</f:link.action>
  )
}

The links should be the same. f:uri.action does not link to page 2, but to the current page.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #87629: Harden \TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilderClosed2019-02-03

Actions
Actions

Also available in: Atom PDF