Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1754442-2.patch | 6.97 KB | amateescu |
#3 | 1754442.patch | 11.28 KB | amateescu |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedProbbaly 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)
Comment #2
dawehnerWell 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.
Comment #3
amateescu CreditAttribution: amateescu commentedThis 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.
Comment #4
aspilicious CreditAttribution: aspilicious commentedYou 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.
Comment #5
amateescu CreditAttribution: amateescu commentedThis one should be better :) @aspilicious, thanks for the info!
Comment #6
dawehnerPerfect, just putted in a small comment in views_init().