U4-11478 - Fix properly in v8 - FirstChild extension returns IPublishedContent rather than model of type T

Created by Sebastiaan Janssen 25 Jun 2018, 12:15:16 Updated by Sebastiaan Janssen 11 Jul 2018, 06:37:53

Relates to: U4-10778

In U4-10778 we've added a temporary workaround for FirstChild<T> not returning the correct result since changing it in v7 would be a large breaking change. In v8 the behavior should be correct and FirstChildAs<T> can be removed again.


Sebastiaan Janssen 11 Jul 2018, 06:37:49

This has been updated here: https://github.com/umbraco/Umbraco-CMS/commit/b22ee9255d27da3551cbe6d52354538254fe9a0a#diff-182d0a3c19feafdbcc33e1798ad57511

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: False

Fix Submitted:

Affected versions:

Due in version: 8.0.0


Story Points: