You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Nuget, we installed the Razor view engine (FubuMVC.Razor v0.9.5.817 and RazorEngine v3.0.8) which upgraded the following packages:
Bottles from 0.9.1.202 to 0.9.1.224
FubuCore from 0.9.4.117 to 0.9.8.130
FubuLocalization from 0.9.4.116 to 0.9.5.17
FubuMVC.References from 0.9.4.762 to 0.9.5.817
Now when we upload files the HttpFileCollectionWrapper value on our input model is null.
Downgrading all of the packages and grabbing the older Nuget FubuMVC.Razor -Version 0.9.4.768 fixed things.
The text was updated successfully, but these errors were encountered:
Side Note: When binding failures like this happen, you can take IFubuRequest into your controller and call the ProblemsFor() which will return an IEnumerable which will tell you what went wrong.
FubuCore issue #39 is fixed and FubuMVC is awaiting a ripple update of the Nugets, which we're planning on doing tomorrow because there are some other FubuCore changes and pull requests that need to be rippled to downstream projects.
Is this problem fixed in the latest NuGet package? We have the same problem, posted files not being model binded, thus ending up null in our controllers. We tried all the "workarounds" mentioned without luck. We are using the latest NuGet packages and Razor view engine.
@gbrunton@cbermar It's been awhile, but we just ran into this again at Dovetail. I confirmed our DLL has this fix, but we're still having problems with HttpFileCollectionWrapper for some reason.
It turns out that if you use HttpFileCollectionBase, it should work just fine.
Using Nuget, we installed the Razor view engine (FubuMVC.Razor v0.9.5.817 and RazorEngine v3.0.8) which upgraded the following packages:
Bottles from 0.9.1.202 to 0.9.1.224
FubuCore from 0.9.4.117 to 0.9.8.130
FubuLocalization from 0.9.4.116 to 0.9.5.17
FubuMVC.References from 0.9.4.762 to 0.9.5.817
Now when we upload files the HttpFileCollectionWrapper value on our input model is null.
Downgrading all of the packages and grabbing the older Nuget FubuMVC.Razor -Version 0.9.4.768 fixed things.
The text was updated successfully, but these errors were encountered: