If you disable the comment module you can still see and select the comment wizard on the
add view page.

This leads to a lot of notices.

CommentFileSizeAuthor
#5 1754442-2.patch6.97 KBamateescu
#3 1754442.patch11.28 KBamateescu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

Probbaly because the wizard stuff gets cached. If you remove the custom cache bin from the CacheDecorator it will default too "cache" and that one probably gets cleared when enabling/disabling a module.

(just thinking)

dawehner’s picture

Well there are several reasons for that.

One is simply that ALL the wizard plugins live currently in Drupal\views\Plugin\views\wizard instead of Views\node\Plugin\views\wizard
for example.

amateescu’s picture

Status: Active » Needs review
FileSize
11.28 KB

This gets us 90% there, the add view screen breaks horribly when the node module is disabled and I couldn't find where node is hardcoded for that list.

aspilicious’s picture

You need to add

module = "comment"

or something like that when you move the classes to the Views namespace.
Tim will tell you why.

Look at the other plugins in there for examples.

amateescu’s picture

FileSize
6.97 KB

This one should be better :) @aspilicious, thanks for the info!

dawehner’s picture

Status: Needs review » Fixed

Perfect, just putted in a small comment in views_init().

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