We have moved to GitHub Issues
Created by Nik 27 Feb 2018, 12:43:26 Updated by Simon Dingley 09 Mar 2018, 16:40:41Tags: Unscheduled Regression
Is duplicated by: U4-11023
Is duplicated by: U4-11025
Is duplicated by: U4-11030
If you are using document types to group re-usable blocks/modules then it is unlikely you would add any properties to your container node. As a result, when you click on it in the content tree AutoMapper throws an exception:
Mapping types: Content -> IEnumerable`1 Umbraco.Core.Models.Content -> System.Collections.Generic.IEnumerable`1[[Umbraco.Web.Models.ContentEditing.Tab`1[[Umbraco.Web.Models.ContentEditing.ContentPropertyDisplay, umbraco, Version=1.0.6631.28270, Culture=neutral, PublicKeyToken=null]], umbraco, Version=1.0.6631.28270, Culture=neutral, PublicKeyToken=null]] Destination path: ContentItemDisplay.Tabs.Tabs Source value: Umbraco.Core.Models.Content
'''What did you expect to happen?''' I expected to only see new Info tab, or if applicable see the child items tab with the list view present.
'''Steps to reproduce:'''
'''Work around''' Add a temporary property to the document type so it no longer throws the error.
Well that is shitty. I can reproduce. It's also not possible to create new documents based on empty doctypes.
Fixes this very issue, by my tests.
Code changed with commits 64628c0a9d92d5e76a00957119f5c83a09210fe0 and 469d6f9ca30f2f33e5ac07aff5ed0ccbfe8de021 - seems ok but many changes.
I've been hit by this in an upgraded site, no obvious way out at the moment but am going to try and manipulate my usync export to create something in order to recover access to the doctype. I can't even edit the doctype in the Umbraco UI.
I can confirm that I was able to overcome this by adding a tab via the uSync export of the doctype as follows:
@ProNotion What version did you upgrade to? it was fixed in 7.9.1 and 7.9.2. Nice workaround for those using usync though :-)
7.9.0 I've yet to do the patch upgrades to those versions. Thanks for letting me know though.
Backwards Compatible: True
Affected versions: 7.9.0
Due in version: 7.9.1
Sprint: Sprint 79