Bug: exception when trying to create dictionary item during installation
This results in the text [UsergroupPermissions] to be displayed in the context menu instead of the correct name.
2013-02-16 08:53:31,792 [123] ERROR Umbraco.Core.PluginManager - [Thread 135] Error creating type UserGroupPermissions.Events.InstallLanguageskeys System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Web.HttpException: Request is not available in this context at System.Web.HttpContextWrapper.get_Request() at umbraco.BusinessLogic.StateHelper.Cookies.get_HasCookies() at umbraco.BasePages.BasePage.get_umbracoUserContextID() at umbraco.BusinessLogic.User.GetCurrent() at UserGroupPermissions.Businesslogic.Languagefiles.KeyMissing(String key) at UserGroupPermissions.Businesslogic.Languagefiles.InstallLanguageKey(String key, String value) --- End of inner exception stack trace ---
What version of Umbraco are you using? Maybe the files can't be edited due file permissions
But you can add it manually, open the language xml file(s) in /umbraco/config/lang, search for <area alias="actions" then add the key <key alias="UsergroupPermissions"><![CDATA[User group permissions]]></key>
You might need to refresh the cache but then all should worok again.
Adding them manually worked. I'm not sure about the syntax, though. You specified "![CDATA[User group permissions]]", but all the other entries simply have the label name. Would/should the following work?
<key alias="UsergroupPermissions">User Group Permissions</key>
Bug: exception when trying to create dictionary item during installation
This results in the text [UsergroupPermissions] to be displayed in the context menu instead of the correct name.
HI Arie,
What version of Umbraco are you using? Maybe the files can't be edited due file permissions
But you can add it manually, open the language xml file(s) in /umbraco/config/lang, search for <area alias="actions" then add the key <key alias="UsergroupPermissions"><![CDATA[User group permissions]]></key>
You might need to refresh the cache but then all should worok again.
Cheers,
Richard
Hi Richard,
I'm running 6.0.0.
I haven't run into any permissions issues before, though. I'll have to keep an eye it that.
Adding the key manually should work, though. Thanks!
Adding them manually worked. I'm not sure about the syntax, though. You specified "![CDATA[User group permissions]]", but all the other entries simply have the label name. Would/should the following work?
<key alias="UsergroupPermissions">User Group Permissions</key>
Hi Arue, yes that should work, mine had cdata wrapped around it
is working on a reply...