Needs review
Project:
SimpleViews
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 20:47 UTC
Updated:
6 Aug 2009 at 22:38 UTC
Jump to comment: Most recent file
What a great idea...Thanks!
Just installed it....a couple of quick questions:
- Even though I grant views permission to only authenticated users..it's still visible on the nav menu for anonymous users.
- When the view is deleted it still shows on Nav menu (just a comment...I then disabled it at the menu level)
thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | simpleviews_delete_menu_fix.patch | 580 bytes | Sid_M |
Comments
Comment #1
tgeller commentedI've confirmed this (and reclassified it) as a bug in the code. I disagree with Mr. Beechey that this is just a support issue: SimpleViews creates a menu that *can't* be deleted.
It's easy to reproduce:
1) Create a SimpleView.
2) Delete it
3) Menu item (in Navigation menu) remains. Can't be deleted through SimpleViews, Views, or /admin/build/menu.
Good luck!
Comment #2
tgeller commentedChanged title to be clearer.
Comment #3
Sid_M commentedThe problem is that the menu cache is not getting cleared and rebuilt. It would be preferable if the code were fixed to do that. A workaround which may help some folks: after deleting a simple view, go to the modules page. That will clear the cache, making the menu item for the deleted view disappear.
Comment #4
Sid_M commentedThe attached patch should fix this.
In the meantime, another workaround: creating a new simple view clears the menu cache which should get rid of menu items for previously deleted simple views.