485c6cb6a1
* Add new property HostContentType to make Properties aware of their content type * Adjust Dummy PropertyType to include the Content Type * Pass in Content Type from ValueConverter to Deserialization helper through new optional parameter * Populate the property's HostContentType via RetrieveAdditionalProperties * Make sure HostContentType isn't persisted Notes: In some cases, the Umbraco Core looks for pt.ContentType.Alias, which didn't exist previously in our Dummy PropertyType. This would also potentially cause an error if any PVC's do the same. To fix we now keep track of the Content Type that the Archetype exists on (determined in the ArchetypeValueConverter), and pass this along to our Dummy PropertyType (and thus to PVCs) Note we made the hostContentType an optional parameter as there's some cases where we won't know the content type (ie ConvertDbToEditor). This (shouldn't?) be an issue as these cases should never have a reason to call GetValue.