Shazwazza / Articulate

A wonderful Blog engine built on Umbraco
MIT License
211 stars 106 forks source link

Macro error in category pages #358

Closed skwiggly closed 3 years ago

skwiggly commented 3 years ago

I seem to be having the same issue described here: https://github.com/Shazwazza/Articulate/issues/29. The macro renders everywhere else in the site, just not in the Articulate section. Debugged and the macro parameter is set correctly.

Error: [InvalidOperationException: Cannot render a macro, no content found by id 2147478096] Umbraco.Web.UmbracoComponentRenderer.RenderMacro(Int32 contentId, String alias, IDictionary`2 parameters) in D:\a\1\s\src\Umbraco.Web\UmbracoComponentRenderer.cs:100 Umbraco.Web.UmbracoHelper.RenderMacro(String alias, Object parameters) in D:\a\1\s\src\Umbraco.Web\UmbracoHelper.cs:167

Umbraco 8.11.1 Articulate 4.2.1

View code: @Umbraco.RenderMacro("TopNavigation", new { startNodeId = @topNavId })

Shazwazza commented 3 years ago

Hi, do you have basic steps to replicate from a vanilla install?

skwiggly commented 3 years ago

Don't have steps to reproduce from a standard installation. We worked around this by using partials instead of macros.