umco / umbraco-stacked-content

Stacked Content for Umbraco 7
https://our.umbraco.org/projects/backoffice-extensions/stacked-content
MIT License
17 stars 26 forks source link

Back-office preview not rendering RTE Macro #55

Closed AndyFelton closed 5 years ago

AndyFelton commented 5 years ago

When rendering a Document Type which has a Rich Text Editor Data Type containing a Macro I get an Error indicating 'Cannot render a macro when there is no current PublishedContentRequest'.

See our issue https://our.umbraco.com/packages/backoffice-extensions/stacked-content/stacked-content-feedback/94950-macros-stacked-content#comment-300280 for more information.

AndyFelton commented 5 years ago

@leekelleher I've used the code I'd found previously and have running on my API controller to create the PublishedContentRequest and created a pull request - may need some additional work before merging Pull Request #57

leekelleher commented 5 years ago

Closing this one, fixed in PR #57. It'll be part of upcoming v2.0.2 release, (TBC).

AndyFelton commented 5 years ago

@leekelleher do you have a timeframe for v2.0.2 just so I can plan things.

leekelleher commented 5 years ago

I'll try to get a release out tomorrow, otherwise it'd be next week.

In the meantime, there are CI builds on MyGet and AppVeyor...

https://www.myget.org/feed/umbraco-packages/package/nuget/Our.Umbraco.StackedContent

https://ci.appveyor.com/project/UMCO/umbraco-stacked-content/build/artifacts