We have moved to GitHub Issues
Created by Mads Rasmussen 18 Jan 2018, 09:19:37 Updated by Sebastiaan Janssen 07 Feb 2018, 14:01:24
Relates to: U4-10939
Subtask of: U4-9432
When I try to create a macro in Umbraco 7.8 I get the error: "Could not task for operation Create for node type macros"
PR for this is here - https://github.com/umbraco/Umbraco-CMS/pull/2412
This bug was introduced because the tree for Macros was converted from a legacy tree into a new more modern tree in the code base, by doing so the legacy Create dialog that loads in nested UserControls was expecting the Create UI.XML for the legacy trees to be present, which it was but under an XML node that would be used for legacy trees.
Creating macros works again! Awesome job @warren.buckley :D
Have done a [small change|https://github.com/umbraco/Umbraco-CMS/pull/2412/commits/c68f832be64e20dee5417374a6035cba99b899c1], delete action on macro context menu was lower case - not anymore :) Merging.
I've just upgraded from 7.7.8, to 7.8.0 and still getting this issue :( Was it released in the final 7.8.0 build?
Note, that creating a Partial View Macro file (with a macro works, and is a workaround for now...)
@DaymediaDan Make sure your
~\Umbraco\Config\Create\UI.xml is updated, the macros alias needs to look like this:
@sebastiaan Ah, I was missing
<create assembly="umbraco" type="macroTasks" />
That's fixed it. Cheers :)
Just realized that NuGet upgrades don't add this node in the UI.xml so I will make sure that gets fixed for 7.8.1 - did you use NuGet @DaymediaDan ?
@sebastiaan Yupp, upgraded via NuGet
Cheers Daniel! Have created U4-10939 to get a config transform in for 7.8.1
Backwards Compatible: True
Affected versions: 7.8.0
Due in version: 7.8.0
Sprint: Sprint 77
Story Points: 1