Orchard.Rules vs. Orchard.Workflows

Topics: Customizing Orchard, Writing modules
Mar 11, 2013 at 11:24 PM
My question has two parts:
  1. Is Orchard.Workflows intended to completely replace Orchard.Rules?
  2. If not, I am having problems creating a rule where I cannot edit it after creation in the latest build (changeset 8ec13687d686).
The error I get when trying to edit the newly created rule is the following (from the error log):

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key)
at CallSite.Target(Closure , CallSite , Object , String )
at Orchard.Core.Contents.Rules.ContentEvents.FormatPartsList(Object context) in c:\Users\gqadonis\Documents\GitHub\Pharmalto-Services\orchard_a8217097cf2a\src\Orchard.Web\Core\Contents\Rules\ContentEvents.cs:line 30
at Orchard.Core.Contents.Rules.ContentEvents.<Describe>b__12(Object context) in c:\Users\gqadonis\Documents\GitHub\Pharmalto-Services\orchard_a8217097cf2a\src\Orchard.Web\Core\Contents\Rules\ContentEvents.cs:line 23
at Orchard.Rules.Controllers.AdminController.Edit(Int32 id)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func
1 continuation)

Any ideas on this?
Coordinator
Mar 12, 2013 at 2:34 AM
  1. yes
  2. n/a