The menu cache needs to be rebuilt after new views are created. I added new tables using the table wizard at admin/content/tw However all of the links to the per-table content views (e.g. admin/content/tw/view/mytablename) just displayed the same information as admin/content/tw. Clearing Drupal's menu cache fixed the problem for me and now I can browse the table content using the views. It'd be great, if a manual cache clear wasn't required.

Cheers,
Stella

Comments

yhager’s picture

I am having the same problem. Took me a while to understand I need to flush the menu cache after each addition/removal of a table in order to see its contents.

mikeryan’s picture

Assigned: Unassigned » mikeryan
Status: Active » Fixed

Fixed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

koyama’s picture

Status: Closed (fixed) » Active

Sorry for re-opening this, but I am having exactly this issue even with the latest development snapshot. Could something be wrong with the fix?

Environment:

  • Table Wizard 6.x-1.x-dev (2009-Aug-18)
  • Schema 6.x-1.6-rc2
  • Views 6.x-2.6
  • Drupal 6.13

To be sure that something else wasn't interfering, I tested with a completely fresh drupal install.

mikeryan’s picture

Status: Active » Fixed

Turns out menu_cache_clear_all() isn't enough, we needed to call menu_rebuild()...

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.