Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Reproducing the problem:
Create a view of some sort, set it's menu settings as being a default tab.
Running the newest 6.x-1.x-dev + panels goto page manager and create a new custom page that is a tab on the view from the previous step.
Once your tab has shown up on the view, delete the page manager page. Your tab should stick around and link off to nothing.
Interesting side note:
If you do the same steps on a node page w/ %node context instead of a view, when the page is removed the tab is also removed.
Comments
Comment #1
sdboyer CreditAttribution: sdboyer commentedSounds like we're failing to trigger a menu_rebuild at an appropriate time. I'll have a looksee.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedThe menu_rebuild() was being triggered. However, the already loaded page had been cached, and so was appearing in the list of pages. Clearing this cache solved the problem.