kelly-lion
-
12/10/2013 12:46:13 PM
Role with a space
Dealing with a database that has been upgraded from 6 to 7. Consultant created a role with a space in it and provided us with tools to manage membership in that role.
Now, on version 7, the tool errors out with
Unhandled Exception: CMS.DataEngine.CodeNameNotValidException: The object code n ame 'Active Member' is not valid. The code name can contain only alphanumeric ch aracters, some special characters (_, -, .) and cannot start or end with '.'. at CMS.DataEngine.AbstractInfoProvider`2.SetInfo(InfoType info) at CMS.SiteProvider.RoleInfoProvider.SetRoleInfoInternal(RoleInfo roleInfoObj) at CMS.SiteProvider.RoleInfo.SetObject() at CMS.SettingsProvider.BaseInfo.SetParent(GeneralizedInfo parent) at CMS.SettingsProvider.BaseInfo.TouchParent() at CMS.Synchronization.SynchronizationHelper.TouchParent(BaseInfo infoObj, TaskTypeEnum taskType) at CMS.Synchronization.SynchronizedInfo`1.DeleteData(Boolean logObjectChange) at CMS.DataEngine.AbstractInfoProvider`2.DeleteInfo(InfoType infoObj) at CMS.SiteProvider.UserRoleInfoProvider.DeleteUserRoleInfoInternal(UserRoleInfo infoObj) at CMS.SiteProvider.UserRoleInfoProvider.RemoveUserFromRole(UserInfo ui, RoleInfo ri) at CMS.SiteProvider.UserRoleInfoProvider.RemoveUserFromRole(Int32 userId, Int32 roleId)
Any quick way to fix this since the role is still in use on the site? Thanks, Kelly
|