U4-8523 - NuCache - refactor macros

Created by Stephan 26 May 2016, 12:54:11 Updated by Stephan 23 May 2017, 11:36:44

Relates to: U4-8497

Subtask of: U4-9600

Because NuCache kills most of the existing XmlDocument support and replaces it by XPathNavigator in order to support XSLT, everything related to XSLT in macros (especially macro.cs) needs to be refactored.


Stephan 26 May 2016, 12:58:31

Imported from the NuCache branch: all XSLT moved to proper XSLT macro engine, all references to XSLT in legacy code etc refactored. All macro rendering that was in macro.cs now in Umbraco.Web.Macros.MacroRenderer. UserControl rendering also moved to proper macro engine. Basically MacroRenderer does ''not'' depend on ''anything'' from the legacy DLLs. Still provides the macro rendering features, so it's breaking compatibility in terms of ''how'' to do it--macros are still running unchanged.

Will be part of the U4-8497 mega-PR. Really tried to split things into smaller bits and PRs but... that does not seem really possible as all those changes are merged from NuCache branch at once.

Stephan 23 May 2017, 11:36:41


Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: False

Fix Submitted:

Affected versions:

Due in version: 8.0.0

Sprint: Sprint 59

Story Points: