U4-6315 - Umbraco 7.2.2 Broke Contour (EDIT: And Dialogue)

Created by Nicholas Westby 23 Feb 2015, 17:05:20 Updated by Shannon Deminick 26 Jun 2017, 07:11:21

I was working on a site that was Umbraco 7.1.8 and was using Contour 3.0.23. When I upgraded to Umbraco 7.2.2, I got this error on Contour forms: !contour-error.png!

When I configured macros to throw exceptions rather than render the error message, this was the exception message:

{"c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\4bba56dc\b9896d6e\App_Web_mvcrendercontourform.cshtml.70df5e80.b7ytxhwl.0.cs(24): error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)"}

It seems this is because Umbraco 7.2.2 removes Microsoft.Web.Helpers.dll. I was able to fix this by installing the NuGet package Microsoft.Web.Helpers: !nuget.png!

Not sure what the typical protocol is for removing items with Umbraco upgrades, but thought I'd at least report this in case others come across this issues.

2 Attachments

Comments

Mike 02 Mar 2015, 06:31:02

Had another issue with this.

After update from 7.1.4 to 7.2.2 and using @Umbraco.RenderMacro("umbracoContour.RazorRenderForm", new ) my receive 500 error on prod and "<Macro: (,)> " on local


Nicholas Westby 02 Mar 2015, 23:28:44

FYI, Mike, I had that same <Macro: (,)> issue on a fresh install of Umbraco 7.2.2. I think the problem is that the macro alias no longer has a dot (i.e., it's now "umbracoContourRazorRenderForm" rather than "umbracoContour.RazorRenderForm"). I ran into a few other problems I needed to solve before the form would work, but I think this was the major one.


Nicholas Westby 03 Mar 2015, 18:35:44

Looks like it also broke Dialog (due to the same missing DLL): https://our.umbraco.org/projects/collaboration/dialogue/general/61646-Not-working-in-Umbraco-722!


Nicholas Westby 25 Mar 2015, 22:47:08

I can't seem to find Microsoft.Web.Helpers.dll on NuGet anymore. For anybody who needs it, you can find it in the bin folder of the Umbraco 7.2.1 download: https://our.umbraco.org/contribute/releases/721/


Shannon Deminick 26 Jun 2017, 07:11:22

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.2

Due in version:

Sprint:

Story Points:

Cycle: