I've been having an error since upgrading to 7.4.X (from 7.3.X). I have a SurfaceController called "Common" which basically is used to display the menu recursively until X levels have been reached.
Yet in Umbraco 7.4.X, I get this error in PagesList (@Html.Action("DisplayMenuNodes", "Common",{...} line):
Détails de l'exception: Umbraco.Web.Mvc.ModelBindingException: Cannot
bind source type System.String to model type
Umbraco.Core.Models.IPublishedContent.
Awesome, looking forward! I can confirm that the posted build solved this for me. However, it refuses to save my true/false properties on any pages, wich is quite annoying, since my solution relies heavily on these..
I'll test it on a clean, new install and report it if the newest published package also does this..
After testing this again, I must say that the pre-release has a bug in relation to saving the value of true/false properties. It simply doesn't seem to care one bit about them... But This is off cource a pre-release build, but others out there fixing the posted bug with this pre-release must be aware of this...
Never mind, I can reproduce the problem with true/false fields, thanks for reporting! Not related to this fix but certainly a bad bug! We're working on it.
[7.3.X to 7.4.X] Html.Action fails
Hello,
I've been having an error since upgrading to 7.4.X (from 7.3.X). I have a SurfaceController called "Common" which basically is used to display the menu recursively until X levels have been reached.
This worked in 7.3.X:
PagesList (Partial)
CommonController (SurfaceController)
MenuNodes (PartialView)
Yet in Umbraco 7.4.X, I get this error in PagesList (@Html.Action("DisplayMenuNodes", "Common",{...} line):
What changed that it wouldn't work?
Hello,
Did you try Umbraco 7.4.1? Some issues related to this have been fixed.
Jeroen
Yes, same error in 7.4.1.
Hi, I am getting the same problems with using
@Html.Action("Header", "Global", new { content = Model.Content })
I get the following error: Cannot bind source type System.String to model type Umbraco.Core.Models.IPublishedContent.
Hmm if it's a bug you can report it here: http://issues.umbraco.org/newissue
Ticket Created: http://issues.umbraco.org/issue/U4-8030
I'm also getting this issue. Yet to find the cause or work around. Thanks for raising a bug.
Dan.
Same issue here, thanks for raising the issue :)
There's an update on that issue and a dll you can test http://issues.umbraco.org/issue/U4-8030
We're not super sure about the fix yet, but it should alleviate the issue for now until we have a final fix.
I can confirm this works for me too :)
Thanks for the speediness on this! 👍
Thank you for the fix. I'll try it sometime this week.
Thanks for the fix. I can confirm this works.
I have the same issue, I will grab the dll. Hope we can have a new release with the fix soon. Thanx !
We're doing our regular monthly release cycle, so thursday next week 7.4.2 should be out with a fix in it.
Awesome, looking forward! I can confirm that the posted build solved this for me. However, it refuses to save my true/false properties on any pages, wich is quite annoying, since my solution relies heavily on these.. I'll test it on a clean, new install and report it if the newest published package also does this..
After testing this again, I must say that the pre-release has a bug in relation to saving the value of true/false properties. It simply doesn't seem to care one bit about them... But This is off cource a pre-release build, but others out there fixing the posted bug with this pre-release must be aware of this...
@Niels got example code? is this a surfacecontroller or..? not sure what you mean?
Never mind, I can reproduce the problem with true/false fields, thanks for reporting! Not related to this fix but certainly a bad bug! We're working on it.
I see the fix will roll out in 7.4.2.
Thank you for your quick work.
is working on a reply...