We found that a few files we touched (https://github.com/OrchardCMS/Orchard/commit/97288315564d6aed63c6a1925628669b030ab094) had an issue:
they did not have the OrchardFeature attribute, so the ahndler they implemented could be invoke out of turn.
For example, it would be triggered when the "admin" user is created during the "default" startup recipe that creates a tenant, logging an error as the workflow feature is not active at that point.
We found that a few files we touched (https://github.com/OrchardCMS/Orchard/commit/97288315564d6aed63c6a1925628669b030ab094) had an issue: they did not have the
OrchardFeature
attribute, so the ahndler they implemented could be invoke out of turn. For example, it would be triggered when the "admin" user is created during the "default" startup recipe that creates a tenant, logging an error as the workflow feature is not active at that point.This PR fixes that.