SubPointSolutions/spmeta2 — pull request #246 by antonkhrit (2014-12-07 22:11:20+00:00)
Title: Bug fix of list level workflow subscription provision for multiple children webs

This is my first pull request. Don't be rigor.

I fixed the bug with provision of list lever workflow subscription. It occurs if model is not attached to current web, but adds one or more children webs and then tries to provision list level workflow subscription on children web. Method DeployListWorkflowSubscriptionDefinition always take hostclientContext.Web for creation of WorkflowServicesManager. It is wrong, because if there are children webs to be created it has to use list.ParentWeb instead.

I fixed it in my last commit.