When creating first menu link, it doesn't appear until the cache is cleared

Created on 26 December 2022, almost 2 years ago
Updated 2 March 2023, over 1 year ago
🐛 Bug report
Status

Active

Version

3.0

Component

User interface

Created by

🇦🇲Armenia sergey_gabrielyan Yerevan 🇦🇲

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇮Finland thatguy

    I had the same issue and I got it working by adding this cache tag. I'm not sure if this is the correct place in code to add it though.

  • First commit to issue fork.
  • Status changed to Needs work over 1 year ago
  • 🇮🇳India pradeepjha

    I'm also getting same issue. Must be somewhere menu is caching whenever it's created.

    Steps to reproduce issue:

    1. Install 8.x-1.x.dev & configure this module
    2. Then create a new group menu under any group. Navigate to group page, you won't find any menu there.
    3. After clearing all cache you will find menu is visible.
  • Status changed to Needs review over 1 year ago
  • Open in Jenkins → Open on Drupal.org →
    Core: 9.5.x + Environment: PHP 8.0 & MySQL 5.7
    last update over 1 year ago
    6 pass
  • Status changed to Needs work about 1 month ago
  • 🇫🇷France MacSim

    Applied the patch in #7 (same as #10) didn't solved the problem.

  • 🇫🇷France MacSim

    Setting back the status to "needs review" cause my case is a specific case as the block is loaded in another block programmatically. I also added the 'menu_link_content_list' to the second block cache tags and the problem is gone.

  • 🇺🇸United States jnicola

    If you're placing a block inside another block you'll want to pull all cache tags from the first block into the second.

    Sounds like it worked for you though!

Production build 0.71.5 2024