U4-5275 - IPublishedContentFactory should be used for members to

Created by Jeroen Breuer 25 Jul 2014, 10:08:22 Updated by Stephan 29 Jul 2014, 11:38:24

Currently the IPublishedContentFactory only works for content and media. It doesn't work yet if you try something like this:

@using Member = Umbraco.Extensions.Models.Generated.Member; var member = Umbraco.TypedMember(id) as Member;

In this example the Member class is generated with the [ModelsBuilder|https://github.com/zpqrtbnk/Zbu.ModelsBuilder].


Stephan 25 Jul 2014, 10:15:51

This is because the IPublishedContentFactory has not been wired for members. Will do.

Stephan 29 Jul 2014, 08:57:59

Pushed 56dddbca1c8327132089d8f0e68a3d1c0fd6426c to 7.1.5 that should ensure that member returned by Umbraco.TypedMember methods go through the factory. So requires testing, but should be fixed.

Stephan 29 Jul 2014, 11:38:21

Tested OK by @jbreuer - closing!

Priority: Normal

Type: Bug

State: Fixed

Assignee: Stephan

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.4

Due in version: 7.1.5


Story Points: