Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Umbraco 7.15 usync macro key issue umbraco #231

Open
zivkos opened this issue Aug 6, 2019 · 2 comments
Open

Umbraco 7.15 usync macro key issue umbraco #231

zivkos opened this issue Aug 6, 2019 · 2 comments

Comments

@zivkos
Copy link

zivkos commented Aug 6, 2019

Previously (in Umbraco 7.14) macro key was part of the XML root node now it come as separete attribure and IMacro handler not importing macro.
Example from uSync/data folder for Macro - this is what uSync generate when creating macro..

Details post below
https://our.umbraco.com/forum/templates-partial-views-and-macros/98341-umbraco-715-usync-macro-key-issue-umbraco

@glombek
Copy link

glombek commented Aug 19, 2019

+1

Here's a quick Powershell script to do the workaround if you have more than a few macros to import https://gist.github.com/glombek/46074c539bc1699969feba08ae9a801e

@pauloya
Copy link

pauloya commented Dec 20, 2019

We noticed that having the key as an XML element breaks the ability to import added macro parameters to DB.
We had to manually remove the key element from the .config file and the macro properties were added correctly. Removing parameters seemed to work though.

Versions:
umbraco 7.12.4
usync 4.0.14
usync.Core 6.0.14
uSync.ContentMappers 4.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants