Some of them prob should be in the core (in v7 I imagine some like MNTP are) but I think it will still be useful to have those other commonly used 3rd party types (uComps, DAMP etc) return strong custom types. Hopefully v7 property editor packages in the future will come with the Converter interface implemented anyway.
Cool, v7 doesn't ship with converters for core types to maintain upgradability. However I do think that a lot of the new AngularJs property editors are shipping with C# strongly typed converters which is great to see!
Thanks Jeavon... I literally found this issue this morning starting on a new 7.1 site, and see you've already got a new version in place for it. Perfect timing!
I'm also getting this error after upgrading from Umbraco 6.1.6 to 6.2.4. I'm not using the umbraco-core-property-value-converters. Can I also get this error if I'm using my own extension method for MNTP that works similar?
Method not found: 'System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent> Umbraco.Web.PublishedContentExtensions.Where(System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent>, System.Func`2<Umbraco.Core.Models.IPublishedContent,Boolean>)'.
Sorry I don't use the value converters. I'm getting this error and saw this post. It's just the Hybrid Framework for v6 that I upgraded which gives me this error.
Topic author was deleted
v7?
Heya,
I'm assuming you're working on a v7 version? Right now I get a YSOD on MNTP:
Hey Kevin,
Yes, I discovered a few bugs in v7.0.0 when working on it, all have now been fixed in v7.0.1 so standby for a v7 version very soon!
Jeavon
Comment author was deleted
Thx for the reply. I'm using v7.0.1 at the moment. I'm getting by with an extension method for now.
Bump... this is also the behaviour in 6.2, and unfortunately will not return MNTP data.
Ooh, I have a fork for v6.2 already, just compile and drop the dll in and it should work.
Just updated to build against v6.2.0 beta and all seems to be fine.
DLL download here
Please let me know if it works or not :-)
Cheers
Hi Jeavon, not for me unfortunately, node.GetPropertyValue<IEnumerable<IPublishedContent>>(propertyName) returns null in all cases now.
Thanks for the update, I am under time pressure for this site upgrade so I am reverting back to old skool RawXML parsing in this case.
Hi Barry,
No worries, I will test and fix it up. It was quite some time ago that I tested v6.2 against it and I know a hell of a lot has changed since then.
Cheers,
Jeavon
H Barry,
I've just tested against the v6.2 RC and it all seems to be working perfectly, was it the MNTP converter that was returning null?
Jeavon
Yep same for me. MNTP was returning null but with 6.2 RC all is good. Cheers for a great package!
Excellent! Do you think a v7 version is worthwhile?
Absolutely ;-)
Some of them prob should be in the core (in v7 I imagine some like MNTP are) but I think it will still be useful to have those other commonly used 3rd party types (uComps, DAMP etc) return strong custom types. Hopefully v7 property editor packages in the future will come with the Converter interface implemented anyway.
Cool, v7 doesn't ship with converters for core types to maintain upgradability. However I do think that a lot of the new AngularJs property editors are shipping with C# strongly typed converters which is great to see!
Umbraco v7 Core property editors package is here!
Thanks Jeavon... I literally found this issue this morning starting on a new 7.1 site, and see you've already got a new version in place for it. Perfect timing!
@andy, awesome!
Hi Jeavon,
I have issues in 6.2 but can't find the repository anymore - did you delete it?
Thanks, Simon
Update: It's ok I see you moved from BitBucket to GitHub - thanks
Hi Simon,
Yes the v1 branch on GitHub is the version for Umbraco v6.2. What issues are you having?
Jeavon
Hello,
I'm also getting this error after upgrading from Umbraco 6.1.6 to 6.2.4. I'm not using the umbraco-core-property-value-converters. Can I also get this error if I'm using my own extension method for MNTP that works similar?
Method not found: 'System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent> Umbraco.Web.PublishedContentExtensions.Where(System.Collections.Generic.IEnumerable`1<Umbraco.Core.Models.IPublishedContent>, System.Func`2<Umbraco.Core.Models.IPublishedContent,Boolean>)'.
Jeroen
Hey Jeroen,
Yes, did you compile against v6.2, I had to change a fair amount upgrading from v6.1 to v6.2.
Jeavon
I've already upgraded a website from 6.1.6 to 6.2.4 before and didn't have any errors. Both are running on the Hybrid Framework for v6.
What do you mean compile against 6.2? I've upgraded the website by replacing the dll's in the bin folder. This project doesn't use nuget yet.
Jeroen
The dll that has the value converters, is that compiled with Umbraco v6.2 references?
Sorry I don't use the value converters. I'm getting this error and saw this post. It's just the Hybrid Framework for v6 that I upgraded which gives me this error.
Jeroen
Website seems to work again after rebuilding Examine indexes :).
Jeroen
Ah the old classic!
is working on a reply...