Copied to clipboard

Flag this post as spam?

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


  • Asad Kizzie 28 posts 158 karma points
    Jun 04, 2021 @ 14:18
    Asad Kizzie
    0

    Umbraco 7.15 Insert Link and Select Media Throws Angular Error

    Actions Taken:

    1. Open Rich-Text Editor
    2. Click Insert/Edit Link icon
    3. Click Select Media button
    4. Click document that has already been uploaded to Media section
    5. Click Submit button
    6. Back on the Select Link screen, the Link Title field has populated with the title of the media I selected, but the Link URL field is blank and grayed out.

    Chrome Dev Tools Error Shown:

    This is the error message that appears when I try to click the Submit button on the Select Link window:

    angular.min.js?cdv=1987298381:63 TypeError: Cannot read property 'split' of undefined
    at Object.insertLinkInEditor (umbraco.services.js?cdv=1987298381:7405)
    at Object.submit (umbraco.controllers.js?cdv=1987298381:17171)
    at a.scope.submitForm (umbraco.directives.js?cdv=1987298381:6569)
    at angular.min.js?cdv=1987298381:74
    at Object.d.<computed> [as action] (angular.min.js?cdv=1987298381:44)
    at angular.min.js?cdv=1987298381:74
    at angular-mobile.js?cdv=1987298381:270
    at Object.$eval (angular.min.js?cdv=1987298381:92)
    at Object.$apply (angular.min.js?cdv=1987298381:92)
    at HTMLButtonElement.<anonymous> (angular-mobile.js?cdv=1987298381:269)
    

    This error message also appears in Chrome Dev tools with a little X next to it. It appears to be happening in the angular.min.js file as well:

    GET https://localhost:44352/cms-management/backoffice/UmbracoApi/Entity/GetUrlAndAnchors?id=umb://document/57619124ec0b47f3ba2e13e28947e799 417e
    

    Things to note:

    1. Linking to a page within Umbraco works perfectly
    2. If I create a new link, I can type an external URL in the URL box and save just fine
    3. The Media Picker option also isn't working. If I try to insert an image onto the page, it only populates paragraph tags.

    I see there has been a lot of conversation around this issue but I can't seem to find a legit solution. Can anyone help me?!!!

Please Sign in or register to post replies

Write your reply to:

Draft