umbraco/Umbraco-CMS — pull request #475 by KevinJump (2014-09-07 01:08:23+00:00)
Title: Package Installer - Moving content.setValue back out of PropertyType if block (back to v7.1.4 pos)

In CreateContentFromXML the code checks first for a valid PropertyTypeA|ias, and also gets the PropertyType from the associated contentType

the second check it done for 'edge case' Check-box imports, but always returns null if the specific property is an inherited one (i.e. defined on a parent ContentType)

between v7.1.4 and v7.1.6 the content.setValue was moved inside the if ( propertyType == null ) block - as a result content inl inherited properties is not set during import. (see - http://issues.umbraco.org/issue/U4-5437)

Moving content.SetValue back outside of the block - will reinstate the import of inherited items - and shouldn't cause any issues at it uses propertyTypeAlias not propertyType