Umbraco 7 compatability
Just tried to install CWS-Start on a new installation of Umbraco 7, but I get the following error during installation. Has anyone got this working?
Also just noticed that the path shown in the error is not where I have the Umbraco installation, so I'm not sure why that path is like that.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] umbraco.cms.businesslogic.web.Access.RenameMemberShipRole(String oldRolename, String newRolename) +97 umbraco.cms.businesslogic.member.MemberGroup.Save() +114 CWSStart.Web.CWSExtensions.RegisterStartupEvents.AddCustomMemberGroup() in c:\inetpub\wwwroot\Personal\CWS-Start\CWSStart.Web\CWSStart.Web\CWSExtensions\RegisterStartupEvents.cs:82
I uninstalled the package and then reinstalled and it seems to have installed ok this time - no error messages.
But I seem to get a variety of other errors when viewing the front end.
Most of the issues are caused by the document type aliases. In the project they are set to be CWS-whatever , while umbraco 7 strips the dash in the name. Therefore removing the dash from the views will fix most of the issues: e.g.:
In the templates you have: @{ Layout = "CWS-Master.cshtml"; }
by default. To fix, simply change it to:
@{ Layout = "CWSMaster.cshtml"; }
Sounds like a good pull request to me :)