Bug #22190

HMENU with IFSUB, CURIFSUB and hidden subpages

Added by Stephen Bungert about 9 years ago. Updated over 3 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2010-02-25
Due date:
% Done:

0%

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

Description

I have a menu with subpages and need to use IFSUB and it's variants. The problem is that the IFSUB seems to be used even if all the subpages are hidden. This cause a display proble with the menu. I think HMENU shouldn't use ifsub and similar if there are no subpages (because of pages being hidden).

TYPO3 4.3.1
(issue imported from #M13665)


Related issues

Related to TYPO3 Core - Bug #20329: cache_hash fills up with huge amounts of MENUDATA Closed 2009-04-21
Related to TYPO3 Core - Bug #19925: IFSUB and friends are ignoring the l18n_cfg field of the page record Closed 2009-01-27
Related to TYPO3 Core - Bug #25323: Moving a page do not clear page cache of old Neighbors/Parent Closed 2011-03-15

History

#1 Updated by Oliver Hader about 9 years ago

Can you please add your TypoScript configuration here and describe what does not work in detail? Thanks in advance!

#2 Updated by Patrick Broens about 9 years ago

No Typoscript configuration needed from reporter, because I already aknowledge this bug.

#3 Updated by Patrick Broens about 9 years ago

Has a long tail to fix first, not doable during bug auction.

pointers: track MENUDATA from cache_hash table, ident column. gets stored but not cleared. clearing is dificult because we can't recreate the identifying hash in the backend, when hiding a page.

possible solution: add a column pid to cache_hash, clear all parents' and siblings' MENUDATA when hiding a page

#4 Updated by Patrick Broens about 9 years ago

alternative solution: extract MENUDATA caching into a separate cache like treelist cache and also handle clearing like tree list in a hook and for the correct events

#5 Updated by Oliver Hader about 9 years ago

Are there any news here?

#6 Updated by Juergen Weber almost 9 years ago

Hey guys, we're encountering the very same problem for ages now. Isn't there any solution to this yet? This slows down our whole system and we're forced to implement cronjobs to clear the cache table on a regular basis. It would be great if you could raise the priority on this.

#7 Updated by Patrick Broens almost 9 years ago

Hi,

Ok, I had to inform you about the status.

After the T3BOARD10 I did a lot of investigation regarding this topic and posted the outcome of this investigation to the other core team members. Currently there is no simple solution. The outcome of this investigation was we need to rewrite the whole tslib_menu. As this is a major task, I asked to the other core team members to discuss this during the meeting we have in front of the T3DD10 and see if we can find a good solution. We need to have the views of multiple people, simply because this is pretty complicated stuff to solve.

We already agreed this task was too late and too complicated to get into 4.4.
I'll post my outcome on the dev mailinglist as well, so you know what exactly is going on.

#8 Updated by Patrick Broens almost 9 years ago

Posted the outcome of my investigation to the dev mailing list

Subject: MENUDATA caching problems

#9 Updated by Chris topher over 7 years ago

  • Target version changed from 4.6.0 to 4.6.1

#10 Updated by Chris topher over 7 years ago

  • Target version changed from 4.6.1 to 4.6.2

#11 Updated by Xavier Perseguers about 7 years ago

  • Assignee deleted (Patrick Broens)
  • Target version deleted (4.6.2)
  • TYPO3 Version set to 4.6

#12 Updated by Lorenz Ulrich over 6 years ago

#13 Updated by Mathias Schreiber about 4 years ago

  • Target version set to 7.2 (Frontend)
  • Is Regression set to No

#14 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)

#15 Updated by Susanne Moog over 3 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#16 Updated by Benni Mack over 3 years ago

  • Target version changed from 7.5 to 7 LTS

#17 Updated by Mathias Schreiber over 3 years ago

  • Category set to Frontend
  • Target version deleted (7 LTS)

Also available in: Atom PDF