Copied to clipboard

Flag this post as spam?

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


  • Chris 3 posts 73 karma points
    May 01, 2019 @ 13:54
    Chris
    0

    Umbraco Courier Error - 500 Internal Server Error

    Hi,

    We're experiencing an error when attempting to deploy pages from staging to production using Courier (v3.1.6).

    The backoffice shows this error:

    enter image description here

    Whilst Chrome dev tools show this error being thrown:

    enter image description here

    Things I've tried which haven't worked:

    • Restarting both Locations
    • Deleted an erroring page (content and node), rebuilding it from scratch and deploying
    • Removing media from the content node and redeploying
    • Googling for help, which, via various threads, ultimately brings me here: https://issues.umbraco.org/issue/COU-440 ('COU-440 - Courier CommitItem.aspx/GetTask 500 Error')

    But that issue ends in a link to a fix that is actually a GitHub 404 page :(

    This issue has clearly been experienced before. Has anyone reading this managed to resolve it?

    Thank you

    P.S. Some pages on the same site Courier has no problem deploying at all

    O_o

  • Chris 3 posts 73 karma points
    May 01, 2019 @ 15:45
    Chris
    0

    A bit more on this one...

    Courier appears to be throwing this error due to the presence of double quotes in a Document Type Rich Text Editor.

    The RTE contains the following (example) source html:

    <p><span class="mainhead">some text here</span></p>
    
    <p>Email <a href="mailto:[email protected]">[email protected]</a></p>
    
    <p>some text here<a rel="noopener" data-id="14195" href="/{localLink:14195}" target="_blank" title="a title"></a>.</p>
    

    If the double-quoted class and hrefs are removed Courier deploys without error.

    Courier is not escaping the double quotes correctly. This is an unmodified, default Umbraco RTE.

    Does anyone know why this is happening? We would like to be able to add links and apply classes to our content.

    Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft