I am trying to create a new page in Umbraco, but I keep getting the following error:
The UI Element is missing the Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute attribute
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.InvalidOperationException:
The UI Element is missing the
Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute attribute
Source Error:
Line 80: @Html.HiddenFor(x => Model.RevisionId)
Line 81: <script type="text/javascript">
Line 82: Umbraco.PropertyEditors.PropertyEditorManager.getInstance().init(@Html.RenderPropertyEditorUIElements(Model.Properties));
Line 83: </script>
Sorry my bad - it's more likely that it's because you're missing a reference to the Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute interface in the top of your code I think...does it say @using Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute ?
Found the cause of the issue. Whenever we try to create content page with document type having one of its property of type "Simple Editor" we get this error.
Error when creating pages in Umbraco V5 Beta1
I am trying to create a new page in Umbraco, but I keep getting the following error:
The UI Element is missing the Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute attribute
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: The UI Element is missing the Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute attribute
Source Error:
Line 80: @Html.HiddenFor(x => Model.RevisionId) Line 81: <script type="text/javascript"> Line 82: Umbraco.PropertyEditors.PropertyEditorManager.getInstance().init(@Html.RenderPropertyEditorUIElements(Model.Properties)); Line 83: </script>
Source File: xxx\Website\Areas\Umbraco\Views\ContentEditor\Edit.cshtml Line: 82
Any idea if some fields might be missing?
Hi Phil
Must admit that I have no clue...but have you double checked your permissions? And do you have MVC2 and MVC3 installed?
/Jan
Hi,
I have just double checked, and I have as a test set Network Service to have full permissions, and I do have MVC2 and MVC3 installed.
Hi Phil
Sorry my bad - it's more likely that it's because you're missing a reference to the Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute interface in the top of your code I think...does it say @using Umbraco.Cms.Web.Model.BackOffice.UIElements.UIElementAttribute ?
/Jan
Anybody any help.
Me too getting same error while creating child content pages in "Content" Section.
@Jan Skovgaard : It is occuring in Backoffice so where i need to add reference or put using statement?
Found the cause of the issue. Whenever we try to create content page with document type having one of its property of type "Simple Editor" we get this error.
Created issue at umbraco.codeplex.com http://umbraco.codeplex.com/workitem/30642
Please vote if you still see this issue.
is working on a reply...