Technical information on this site may be out of date : no updates since 2015

ARGGGHHH - Silent failures!

February 6 2008 : posted under drupal best practice

I’ve just spent ages trying to find out why I couldn’t add some default views to drupal

I’d set up my views, exported them added them to a module in a hook_views_default_views() function…

and nothing happened.

First I though this was caching - but much cache clearing and debugging later…

I realised that if the view requires categories that don’t exist - it just gets silently dropped - no error - no warning it just doesn’t work!!!

This seems to be a general Drupal thing - all too often failures are silent - and very hard to track down.