Copied to clipboard

Flag this post as spam?

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


  • Ross 14 posts 105 karma points
    Oct 31, 2022 @ 16:50
    Ross
    0

    No longer able to embed forms in text editor

    Hi,

    On a V10.2 build that is to go live in a month, we've lost the ability to embed forms or edit forms that have already been added to pages.

    Instead of the expected 'Select macro' UI to insert a form, we now get a error:

    Sequence contains more than one matching element

    Possibly unhandled rejection:

    {
        "errorMsg": "Failed to retrieve macro parameters for macro with id  1",
        "data": {
            "ExceptionMessage": "Sequence contains more than one matching element",
            "ExceptionType": null,
            "StackTrace": null
        },
        "status": 500
    }
    

    This is the call the backend makes to render the expected UI that now fails:

    /umbraco/backoffice/umbracoapi/macrorendering/GetMacroParameters?macroId=1
    

    We have one custom theme that we specify when we add forms to pages.

    Any help will be much appreciated,

    Ross

  • Ross 14 posts 105 karma points
    Nov 07, 2022 @ 11:21
    Ross
    100

    In case it helps anyone - this was caused by the Upgrade to Umbraco 10 (and forms as well) that was not followed correctly.

    Specifically, certain Forms - related files need to be removed from the solution (deployment) after upgrading to v10.

    More info here: https://our.umbraco.com/documentation/Add-ons/UmbracoForms/Installation/Version-Specific

Please Sign in or register to post replies

Write your reply to:

Draft