Copied to clipboard

Flag this post as spam?

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


  • AbsolutelyN 89 posts 437 karma points
    Feb 19, 2019 @ 17:02
    AbsolutelyN
    0

    404 in backend StackedContentApi/GetPreviewMarkup

    Hi

    I recently upgraded Umbraco to 7.13.1 assembly: 1.0.6949.28284 and have just realised some pages in the backend that use stacked content are not working.

    I'm getting this error: Request error: The URL returned a 404 (not found): /umbraco/backoffice/StackedContent/StackedContentApi/GetPreviewMarkup

    Message: "No HTTP resource was found that matches the request URI 'http:// .... /umbraco/backoffice/StackedContent/StackedContentApi/GetPreviewMarkup?parentId=46141'." MessageDetail: "No action was found on the controller 'StackedContentApi' that matches the request."

    I've upgraded Stacked/Nested content via nuget to latest versions (2.0.1) but it has made no difference. I've tried clearing browser cache + deleting temp files for clientdependancy all of which make no difference.

    All the dlls seem to be present. Anyone any idea what the cause could be?

    Many thanks.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 19, 2019 @ 17:45
    Lee Kelleher
    100

    Hi AbsolutelyN,

    I'm not sure which version of Stacked Content you upgraded from, but I notice that the example you've given has the parentId querystring param in it... which we renamed to pageId in v1.2.0.

    This shouldn't really concern you, but it means that old JavaScript is loading up in the backoffice for you.

    So either... double-check that the /App_Plugins/StackedContent/ folders/files has the latest version from the package ... and if you are running with debug=false, then bump the version number in the /config/ClientDependency.config file.

    Hope this helps.

    Cheers,
    - Lee

  • AbsolutelyN 89 posts 437 karma points
    Feb 19, 2019 @ 18:07
    AbsolutelyN
    0

    Got it, thank you Lee. Removing StackedContent and reinstalling via nuget seemed to fix it. Second time baffled with it picking up old script, not sure how I managed to get it into that state. Many thanks!

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Feb 19, 2019 @ 20:49
    Lee Kelleher
    0

    Cool, good to hear re-installing fixed it for you!

    Cheers,
    - Lee

Please Sign in or register to post replies

Write your reply to:

Draft