at System.Guid..ctor(String g)
at umbraco.presentation.preview.PreviewContent.EnsureInitialized(User user, String previewSet, Boolean validate, Action initialize)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<>c.<get_GetXmlDelegate>b__42_0(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Guid nodeKey)
at Umbraco.Web.PublishedCache.ContextualPublishedContentCache.GetById(Boolean preview, Guid contentKey)
at Umbraco.Web.PublishedContentQuery.TypedContent(Guid id)
at Umbraco.Web.PublishedContentQueryExtensions.TypedContent(ITypedPublishedContentQuery contentQuery, Udi id)
at Umbraco.Web.PropertyEditors.ValueConverters.MultiNodeTreePickerPropertyConverter.GetPublishedContent[T](T nodeId, UmbracoObjectTypes& actualType, UmbracoObjectTypes expectedType, Func`2 contentFetcher)
at Umbraco.Web.PropertyEditors.ValueConverters.MultiNodeTreePickerPropertyConverter.ConvertSourceToObject(PublishedPropertyType propertyType, Object source, Boolean preview)
at Our.Umbraco.DocTypeGridEditor.Models.DetachedPublishedProperty.<.ctor>b__7_1()
at System.Lazy`1.CreateValue()
at System.Lazy`1.LazyInitValue()
at Umbraco.Web.PublishedPropertyExtension.GetValue[T](IPublishedProperty property, Boolean withDefaultValue, T defaultValue)
at Umbraco.Web.PublishedContentExtensions.GetPropertyValue[T](IPublishedContent content, String alias)
at WebApplication4.App_Code.TestSurfaceController.Test() in c:\Users\WP-27\documents\visual studio 2017\projects\webapplication4\webapplication4\App_Code\TestSurfaceController.cs:line 16
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
Content picker not working in DocTypeGridEditorSurfaceController
Hi,
When I try to get the value of a Content picker (MultiNodeTreePicker2) in DocTypeGridEditorSurfaceController, I receive the following error:
I'm using the latest version of Umbraco (7.12.4) and DTGE (0.6.0). With version 0.5.0 everything was working fine.
Cheers Wesley
Hi Wesley,
Is there any more to the error message, e.g. the stack-trace? As I'm not sure where this error is coming from.
Thanks,
- Lee
Hi Lee,
This is the result of the stacktrace
Wesley
Thanks Wesley!
I've opened an issue on our GitHub repo. I'll investigate further when I next look at DTGE bugs, (or if someone else wants to collaborate on fixing it?)
https://github.com/umco/umbraco-doc-type-grid-editor/issues/124
The fix for this is now available in Doc Type Grid Editor v0.6.1.
is working on a reply...