After updating from 6.x-2.0-rc2 to 6.x-2.0-rc4, all views were disabled and I had to re-enable them all.

Comments

bht’s picture

Title: Views update disables all views provided by other modules. » Views behaviour changed - no longer automatically loads module.views_default.inc file.

Actually, correction. Not sure if this is a bug or by design, but we have a file named in the form "mymodule.views_default.inc" which automatically loaded with 6.x-2.0-rc2 but does not with rc4. When I move my hook_views_default_views() implementation in to the module file everything is fine.

And a short-term workaround is this line in my module file:

include_once('includes/mymodule.views_default.inc');

Is this by design or a bug?

greg.harvey’s picture

We rolled back in the end, but would like an answer on this, as we will change our code if this is by design. =)

merlinofchaos’s picture

Status: Active » Fixed

There was an API change that your custom module needs to implement. It is fully documented in the Advanced Help, and here: http://views-help.doc.logrus.com/help/views/api-default-views

greg.harvey’s picture

Ah, thank you. Sorry.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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