-
Notifications
You must be signed in to change notification settings - Fork 2
Property List of RTEs returns list of NULL #9
Comments
Hey @pgregorynz - thanks for raising this one. I haven't had chance to dive into the code to debug this yet. (It'll most likely be late Thurs before I do).
Property List is using Umbraco's |
Curses this has been playing on my mind... and it's lunch time. It turns out that it is Umbraco's The generic version works as expected... (new System.Web.HtmlString("foo")).TryConvertTo<System.Web.IHtmlString>().Success // is true However the non-generic version fails... (new System.Web.HtmlString("foo")).TryConvertTo(typeof(System.Web.IHtmlString)).Success // is false ... and Property List is using the non-generic version, (since we only know the object-type at runtime). Digging into Umbraco's OK, where does this leave us?
While I don't think this is Property List's concern, (I think it should be |
@pgregorynz I've added a fix for this. If you want to try it out, the latest package files from the CI build are here: https://ci.appveyor.com/project/UMCO/umbraco-property-list/build/1.0.1.47/artifacts Preparing a release takes a little bit more time, I'll schedule a v1.0.1 release soon. |
@pgregorynz Just to let you know that v1.0.1 is out! https://github.com/umco/umbraco-property-list/releases/tag/1.0.1 |
When using property list with RTEs, when the value is converted by the property value converter the result is all nulls. The returned type is correct,
IEnumerable<IHtmlString>
but all the items in that list are null.The text was updated successfully, but these errors were encountered: