Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • rasshme 9 posts 80 karma points
    Feb 08, 2017 @ 01:03
    rasshme
    0

    Macro within a macro stopped working after upgrade to V.7.5.4

    Hi,

    I am facing an issue with macros, after upgrade to more recent versions. Your inputs here are highly appreciated.

    I have a macro 'insertAccordion' which inherits from PartialViewMacroPage and is used in RTE. This macro renders a macro 'GenerateDocumentLink' within it. This macro also inherits from PartialViewMacroPage This was working fine for version 7.1.4. after upgrading to version 7.5.4 it stopped working. when i open the parent page using macro 'insertAccordion' in C MS it fails with error as shown below - Cannot render a macro when there is no current PublishedContentRequest.

    Has anyone faced similar issue ?

    Thanks Rasshme

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 26, 2017 @ 23:09
    Alex Skrypnyk
    0

    Hi Rasshme

    Are you trying to execute request via AJAX?

  • rasshme 9 posts 80 karma points
    Feb 27, 2017 @ 00:03
    rasshme
    0

    Hi Alex,

    No, its not an AJAX request. The page uses macros which are MVC partials views

    I am getting this error after upgrading to higher version, 'Cannot render a macro when there is no current PublishedContentRequest.'

  • Marcio Goularte 374 posts 1346 karma points
    Feb 27, 2017 @ 01:35
    Marcio Goularte
    0

    this macro is a data type macrocontainer?

Please Sign in or register to post replies

Write your reply to:

Draft