Bug #62248

No original mount point uid for HMENU

Added by Christian von Holten over 4 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2014-10-15
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

if have got a HMENU with a custom wrap of every page. My page tree has some pages, which appear several times as mount points. The mount point pages have no content, because it allready in the page, which is pointed to. Everything works well, but the uid of the mount point page is not the original uid. Every typolink on mount point pages are set wrong. Let me explain by an example:


+-page-A
  +----page-A-1
  +----page-A-2
+-page-B
  +----page-B-1
  +----page-B-2 (Mount Point of A-1)

In the resulting menu, the page B-2 has the title and abstract of A-1, that is right. The Problem is, when I click on a link of B-2 I am getting A-1 and not at B-2. So I need the original uid of B-2.

In TYPO3 6.0 everything worked, but in 6.2 it does not. Is there any TypoScript, which gets me the original uid of B-2?

...
  special = directory
  1.NO{
    doNotLinkIt = 1
    wrapItemAndSub =
    stdWrap.wrap = <div class="mh-description" uid="{field:uid}">|</div>
    stdWrap.wrap.insertData = 1
    stdWrap.cObject = COA
    stdWrap.cObject {
      10 = COA
      10 {
        10 = TEXT
        10 {
          stdWrap.wrap = <h2>|</h2>
          field = nav_title // title
          typolink.parameter.field = uid
        }
      }
      20 = COA
      20 {

          10 = TEXT
          10 {
            field = abstract
            stdWrap.br = 1
            stdWrap.noTrimWrap = | |  |
          }
          20 = TEXT
          20.value = Mehr zum Produkt
          20.typolink {
            parameter.field = uid
          }
      } 
    }
  }
...

Related issues

Related to TYPO3 Core - Bug #80970: [HMENU][Introduction package] Parallel mount points don't work Closed 2017-04-23

Associated revisions

Revision d250af09 (diff)
Added by Sascha Egerer 8 months ago

[BUGFIX] Respect mountpoint variable in cObj menu runtime cache

The mountpoint variable must be respected in the key used for the
menu runtime cache. Without that part in the key all links generated
to a mount-point sub-page will link to the first mount target page
in the menu.

Resolves: #80970
Resolves: #62248
Releases: master, 8.7, 7.6
Change-Id: I8ccfebabd515d6da9f78388de51d24603e9fe532
Reviewed-on: https://review.typo3.org/57532
Tested-by: TYPO3com <>
Reviewed-by: Benni Mack <>
Tested-by: Benni Mack <>
Reviewed-by: Wouter Wolters <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 89ed2e49 (diff)
Added by Sascha Egerer 8 months ago

[BUGFIX] Respect mountpoint variable in cObj menu runtime cache

The mountpoint variable must be respected in the key used for the
menu runtime cache. Without that part in the key all links generated
to a mount-point sub-page will link to the first mount target page
in the menu.

Resolves: #80970
Resolves: #62248
Releases: master, 8.7, 7.6
Change-Id: I8ccfebabd515d6da9f78388de51d24603e9fe532
Reviewed-on: https://review.typo3.org/58490
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision c33f1cd6 (diff)
Added by Sascha Egerer 8 months ago

[BUGFIX] Respect mountpoint variable in cObj menu runtime cache

The mountpoint variable must be respected in the key used for the
menu runtime cache. Without that part in the key all links generated
to a mount-point sub-page will link to the first mount target page
in the menu.

Resolves: #80970
Resolves: #62248
Releases: master, 8.7, 7.6
Change-Id: I8ccfebabd515d6da9f78388de51d24603e9fe532
Reviewed-on: https://review.typo3.org/58491
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Christian von Holten over 4 years ago

That wrong behaviour is already in 6.0 the same. Is this an old bug, or is this no bug. If it´s no bug, is ther any solution by TypoScript?

#2 Updated by Heinrich Pegelow almost 4 years ago

I can confirm this bug in typo3 6.2.14

#3 Updated by Elmar Hinz about 2 years ago

  • Related to Bug #80970: [HMENU][Introduction package] Parallel mount points don't work added

#4 Updated by Gerrit Code Review 11 months ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57532

#5 Updated by Gerrit Code Review 8 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57532

#6 Updated by Gerrit Code Review 8 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57532

#7 Updated by Gerrit Code Review 8 months ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58490

#8 Updated by Gerrit Code Review 8 months ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58491

#9 Updated by Sascha Egerer 8 months ago

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

#10 Updated by Benni Mack 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF