Copied to clipboard

Flag this post as spam?

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


  • Gavin Semple 21 posts 93 karma points
    Feb 13, 2019 @ 09:13
    Gavin Semple
    0

    Previews don't load when page is unpublished

    Hi,

    The stacked content backoffice previews I've created work fine when the document is published. However when I unpublish a document the previews no longer work. Instead I get the following error come up in the overlay on the right hand side:

    Unhandled controller exception occurred System.UriFormatException: Invalid URI: The format of the URI could not be determined.
    

    enter image description here

    Is anyone else able to replicate this issue?

    Cheers, Gavin

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Feb 13, 2019 @ 09:28
    Lee Kelleher
    0

    Hiya Gavin, let us know which version of Stacked Content and Umbraco, and I'll try to take a look.

    Thanks,
    - Lee

  • Gavin Semple 21 posts 93 karma points
    Feb 13, 2019 @ 12:16
    Gavin Semple
    0

    Hi Lee,

    Umbraco 7.12.3 and Stacked Content 2.0.3

    Cheers, Gavin

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Feb 13, 2019 @ 13:43
    Lee Kelleher
    0

    Hi Gavin,

    I've been able to reproduce the bug. I've raised a ticket on our GitHub repo here: https://github.com/umco/umbraco-stacked-content/issues/66

    The bug was introduced in Stacked Content v2.0.2. I'm looking into a fix.

    Thanks,
    - Lee

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Feb 13, 2019 @ 13:53
    Lee Kelleher
    100

    Good news is that I've fixed the bug. I'll get around to releasing a patch version later this week. For now if you need a copy, it's available from here: https://ci.appveyor.com/project/UMCO/umbraco-stacked-content/build/artifacts

  • Gavin Semple 21 posts 93 karma points
    Feb 14, 2019 @ 02:51
    Gavin Semple
    0

    Awesome. Thank you for such a fast turnaround!

    It's not mega urgent (plus I'm not 100% sure of what I'm looking at when I go to the appveyor link you've supplied), so I'll wait for the patch then try it out.

    EDIT: Just downloaded the latest version on GitHub, did a rebuild and copied the dll across to my project. Problem Solved!

    Cheers,
    Gavin

  • Chris Evans 137 posts 353 karma points c-trib
    May 06, 2019 @ 00:10
    Chris Evans
    0

    I've just encountered this error, running Umbraco v7.14.0 and Stacked Content v2.0.3 (which is currently the latest on nuget)

    @Lee do you know when v2.0.4 might get released?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    May 07, 2019 @ 08:52
    Lee Kelleher
    0

    Hey Chris, this completely fell off my radar. I'll aim to get a patch release out towards the end of this week.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    May 10, 2019 @ 09:12
    Lee Kelleher
    0

    Hi Chris,

    Stacked Content v2.0.4 has been released: https://github.com/umco/umbraco-stacked-content/releases/tag/2.0.4

    ...and there's a patch release for Inner Content too: https://github.com/umco/umbraco-inner-content/releases/tag/2.0.4

    Enjoy!

    Cheers,
    - Lee

  • Chris Evans 137 posts 353 karma points c-trib
    May 10, 2019 @ 12:54
    Chris Evans
    0

    Superb! Will update ASAP.

  • Chris Evans 137 posts 353 karma points c-trib
    May 08, 2019 @ 07:14
    Chris Evans
    0

    Awesome thanks Lee! Is there somewhere I can subscribe to release notifications?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    May 08, 2019 @ 10:01
    Lee Kelleher
    0

    Hey Chris, yes - you can subscribe to the Release notifications on the GitHub repo: https://github.com/umco/umbraco-stacked-content

    Stacked Content's GitHub Release notifications

  • Lee 1130 posts 3088 karma points
    Apr 08, 2020 @ 11:11
    Lee
    0

    I've just got this same error for a site using v2.04 on Azure? Works fine locally, as soon as I push to azure it's throwing this error? Views/files are all present and it's an exact copy of the local version? Any ideas on where I should start debugging this?

    enter image description here

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 08, 2020 @ 11:51
    Lee Kelleher
    1

    Hey Lee!

    This is where it seems to be failing, when trying to create a new Uri for the PublishedContentRequest...

    https://github.com/umco/umbraco-stacked-content/blob/2.0.4/src/Our.Umbraco.StackedContent/Web/Controllers/StackedContentApiController.cs#L46

    Which suggests that the pageUrl variable doesn't contain an absolute URL.

    I'm not sure why that would be. (I don't know enough about Azure to make an educated guess, sorry).

    Cheers,
    - Lee

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 08, 2020 @ 11:55
    Lee Kelleher
    1

    The only thing that springs to mind is the /umbraco/web.routing/urlProviderMode option in "/config/umbracoSettings.config".

    https://our.umbraco.com/Documentation/Reference/Routing/Request-Pipeline/outbound-pipeline-v7#url-provider-mode

  • Lee 1130 posts 3088 karma points
    Apr 08, 2020 @ 11:57
    Lee
    0

    Thanks bud. I'll have a dig around.

  • Lee 1130 posts 3088 karma points
    Apr 08, 2020 @ 12:13
    Lee
    0

    I'm wondering if this is something to do with the umbraco addTrailingSlash option in the umbracoSettings.

    I've just pushed to staging and it works fine, my staging pushes to 3 other sites. First two work fine, last one has

    <addTrailingSlash>false</addTrailingSlash>
    

    The others are true.

  • Lee 1130 posts 3088 karma points
    Apr 09, 2020 @ 06:12
    Lee
    1

    So my issue was user error and down to one of my custom UrlProvider's looking for a value in the umbracoUrlAlias and changing the url 🤦🏻‍♂️🤦🏻‍♂️

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 09, 2020 @ 08:06
    Lee Kelleher
    0

    No worries. Glad you figured it out! :-)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies