I'm trying to debug a problem right now and was curious if anyone had encountered something similar.
I have a macro that produces content output. If I save & publish a content change on a page that contains the macro in its template, it will cause the macro to not output anything. When I republish the entire site, the macro will display output as expected.
It's entirely consistent:
Save and publish a node
View the page and notice no macro input
Republish the entire site
The macro correctly outputs content
I also manually deleted the umbraco.config and had the same issue with the above steps.
Umbraco 4.7.0.378 ASP.NET 4 Integrated Pipeline IIS 7.5
Caching bug/issue with Macro
I'm trying to debug a problem right now and was curious if anyone had encountered something similar.
I have a macro that produces content output. If I save & publish a content change on a page that contains the macro in its template, it will cause the macro to not output anything. When I republish the entire site, the macro will display output as expected.
It's entirely consistent:
I also manually deleted the umbraco.config and had the same issue with the above steps.
Umbraco 4.7.0.378
ASP.NET 4 Integrated Pipeline
IIS 7.5
Any suggestions?
Just an update, the same thing still hapens even after disabling the XML content cache within the umbraco config.
I seemed to have fixed this by modifying a line within my macro from:
<xsl:variable name="feature" select="umbraco.library:GetXmlNodeById($currentPage//*[name(.)=$field])" />
To:
<xsl:variable name="feature" select="umbraco.library:GetXmlNodeById($currentPage/*[name() = $field])" />
However the inconsistant output behavior I encountered with the first one was rather odd.
is working on a reply...