U4-3505 - Sometimes macro parameter types are not resolved during startup

Created by Shannon Deminick 13 Nov 2013, 05:51:21 Updated by Shannon Deminick 06 Dec 2013, 03:07:32

Is duplicated by: U4-3768

I've seen this a few times now and it's quite strange. If you restart the app pool they'll show up again. Perhaps it is an issue with resolving these inherited types and how the plugin manager caches them, will need to investigate since this is a major issue.


Per Ploug 20 Nov 2013, 13:52:12

is this still an issue?

Sebastiaan Janssen 20 Nov 2013, 18:55:42

Possibly related to this one? http://issues.umbraco.org/issue/U4-3588

Shannon Deminick 21 Nov 2013, 00:17:46

I modified how they were resolved a week ago and haven't seen this issue since then so will close.

Shannon Deminick 21 Nov 2013, 01:21:33

argh!! this just happened again... very hard to reproduce :(

Shannon Deminick 21 Nov 2013, 03:39:05

Well I can't seem to replicate this anymore, it is very strange.

In the logs when this happens you'd see:

Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 33 (took 0ms)

which is impossible because no resolution of 33 types would ever take 0ms even from a cached result would be more than 0ms. The other strange thing is if you see this in the logs it doesn't begin with the line:

Loaded plugin types Umbraco.Core.PropertyEditors.IParameterEditor from persisted cache

which means they weren't even loaded from cache - so 0ms would be impossible.

In any case, i've changed the locker to be a static lock - but since the class is a singleton it shouldn't matter .

Shannon Deminick 25 Nov 2013, 02:50:53

Damn... looks like I can still get this issue to occur, it is very intermittent. Will keep trying to see if I can actively replicate.

Ahmed Abdul Moniem 30 Nov 2013, 05:17:11


Shannon Deminick 06 Dec 2013, 02:54:08

Found the issue and can replicate in a unit test, will fix asap.

Priority: Critical

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.1


Story Points: