Orchard 1.7.1 - Error Disabling Workflow Module in Multi-Tenant Site

Topics: Administration
Oct 8, 2013 at 8:17 PM
Edited Oct 8, 2013 at 8:20 PM
I receive the error below when I try to disable Workflow for a site with multi tenancy enabled. When I do this, the error is a "hard error" meaning I can no longer access either the admin or front end of the tenant's site and the only way to "fix" it is to physically delete the tenant's database. After disabling the module, in the front end of the "default" site, it displays messages stating:
  • Workflows was disabled
  • Comments was disabled
  • Roles was disabled
Then, from the Default site admin dashboard, if I try to "suspend" the tenant site (in an attempt to try to get it back working) the same error is thrown on the Default site, and again, completely locking down the system, requiring me to delete and recreate the database.

I can duplicate this error with a brand new (source code) version of 1.7.1 and a clean database. Simply create a site, enable multi-tenancy, setup the tenant and then disable the Workflows module from within the tenant dashboard.

It's concerning that the "roles" was disabled, as that is part of the core system. If workflows shouldn't be disabled, it should not be allowed to be. Let me know if this is a bug or if there is something I'm doing wrong.

Here's the error:
None of the constructors found with 'Orchard.Environment.AutofacUtil.DynamicProxy2.ConstructorFinderWrapper' on type 'Orchard.Security.Authorizer' can be invoked with the available services and parameters:
Cannot resolve parameter 'Orchard.Security.IAuthorizationService authorizationService' of constructor 'Void .ctor(Orchard.Security.IAuthorizationService, Orchard.UI.Notify.INotifier, Orchard.IWorkContextAccessor)'.
Coordinator
Oct 9, 2013 at 3:34 AM
Please file a bug.