Project

General

Profile

Actions

Bug #84052

closed

MenuProcessor does not respect default page target configuration

Added by Cyril Janody over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Start date:
2018-02-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

How to reproduce

Create a page tree containing external links

Add TypoScript

config {
  intTarget =
  extTarget = _blank
  fileTarget = _blank
}

Define a menu

lib.menu = FLUIDTEMPLATE
lib.menu {
  file = EXT:.....Menu.html

  dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
      entryLevel = 0
      levels = 1
      titleField = nav_title // title
      as = menu
    }
  }
}

Debug template menu

<ul>
    <f:for each="{menu}" as="page">
        <li>
            <f:debug>{page}</f:debug>
        </li>
    </f:for>
</ul>

Target is empty... but it should not, right ?!

Thanks for reading.


Files

78151.diff (887 Bytes) 78151.diff Cyril Janody, 2018-03-01 19:48
Actions

Also available in: Atom PDF