I have a view in the views_view table. It also has displays in the views_display table. However it is not showing up on the views list, nor are the blocks it defines showing on the list of blocks.
The view is in a feature created by the features module. I have several other features that create views and most work fine but this one does not. What would cause a view not to show up if it is in the database? Maybe that will help track down the problem.
Thanks,
Rosina
Edit: It turns out it was not in the view_views table - I was looking in the wrong database. I'm not sure whether it's something in features or something in views that imports the views or something in features that does the import. I have other features where the view IS importing correctly, so it must be something to do with something in this view.
Comments
Comment #1
bignall commentedOkay I think I found the problem. My view uses a vocabulary term (it happens to be one with a vid = 8 ) . However in the test site the same vocabulary has a different vid (vid = 1) and vid = 8 does not exist. I would guess that is causing it to fail.
Comment #2
dawehnerWell in general if you just use features, without override the view provided by your feature the view will not be in the database,
but in files, so you actually have added a view to your database.
Did you cleared the cache before looking at it? The vocabulary issue shouldn't be that bad, and the view still be shown.
Comment #2.0
dawehnerCorrection to description of the problem
Comment #3
mustanggb commented