The class used to build the Wizard belongs to the Views (UI) module, so the plugin path needs to be overriden in the domain form wizard plugin declaration.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

B-Prod’s picture

Status: Active » Needs review
FileSize
484 bytes

Attached patch fixes the issue.

agentrickard’s picture

So this only crashes when Views UI is turned off? We had an existing issue for this. #1716470: Plugin domain of plugin type views_ui:views_wizard points to nonexistent file. I could never replicate the issue.

B-Prod’s picture

No, in my case the Views UI module is enabled. I can't tell you exactly how to reproduce this bug (module upgrade, command line ?) but it exists :-)

Nonetheless the cTools API (on which relies the Views wizard plugins) expects to have a overridden path if the one defined in the plug-in base (so domain_views/plugins/views_wizard in current case) does not contain the class to load. Even if the class belongs to the Views UI module that defines the plug-in type and is in most of the cases already loaded before by another process.

And in your case the "form_wizard_class" is not defined in "domain_views/plugins/views_wizard" but in the Views (UI) module. That's the reason why, to feat the cTools API specifications, the path needs to be overridden for the "form_wizard_class" element of the plug-in.

agentrickard’s picture

Status: Needs review » Reviewed & tested by the community
agentrickard’s picture

Status: Reviewed & tested by the community » Fixed

I never could replicate this. Committed.

 6737170..3a4f1a0  7.x-1.x -> 7.x-1.x

Status: Fixed » Closed (fixed)

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

Mat77’s picture

Why is this still not commited to the 1.5 version?

The patch fixed the problem for me.

andros’s picture

Status: Closed (fixed) » Active

I just wonder why this is by now still not in a released version? The first entry for this issue was ruffly a year ago, and now there is a patch but it wont get a release.

It's sad to see so many modules on drupal.org suffering from slow to none maintenance at all...

agentrickard’s picture

Status: Active » Closed (fixed)

Your editorializing is not helping.

This was committed on Nov 2, 2012 and there has not been a release version since. The module is seeking co-maintainers. Are you volunteering?

If so, please open an issue asking to be a co-maintainer.

Exploratus’s picture

Issue summary: View changes

Thanks! Worked.

michielkenis’s picture

I too can confirm the patch in #1 is working!

bendev’s picture

also working for me thanks

manish34jain’s picture

Patch works!

aitala’s picture

Seems to work for me too.

Thanks,
Eric

quantos’s picture

Out of the blue, and after at 2-3 years without seeing this error, we've suddenly got the nonexistent file error on two of Domain-managed sites we design/maintain. I'll try the patch but we don't believe anything (any modules) or even a core update has triggered the error (which is connected to an exposed filters (with Better Exposed Filters) block view, so still trying to get to the bottom of this.

Details previously posted to the cTools module - to no avail so far:

https://www.drupal.org/project/ctools/issues/2067997#comment-13377721

I'll report back if the patch fixes our error too - thanks.

Q.

quantos’s picture

Patch seems to have made no difference - but we can't obtain the same error message before either (patched or unpatched) so our problem must lie elsewhere in this case. The problem being our exposed filters (on a View table block with BEF) no longer filter. We'll keep looking - although if anyone has grappled with and solved the same error we would love to hear from you.

Q.