Copied to clipboard

Flag this post as spam?

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


  • Nigel Wilson 945 posts 2077 karma points
    Jun 11, 2020 @ 21:12
    Nigel Wilson
    0

    Add link button doesn't work in the RTE

    Hi Tim

    Further to a previous post, I have now been bitten by the same issue:

    https://our.umbraco.com/packages/developer-tools/ui-o-matic/help-support/95044-add-and-remove-link-button-doesnt-work-in-rte

    I have just upgraded the site from 7.13 to 7.13.2 and it appears this has just started happening.

    When clicking the link button the following error is returned.

    enter image description here

    Any ideas as to why this doesn't now work and how to fix, hiding the buttons isn't an option - it's my partners site and she "needs" them ;-)

    I have ui-o-matic v2.1.2 and at this stage upgrading to Umbraco v8 isn't an option to be able to upgrade ui-o-matic.

    Cheers

    Nigel

  • Dhanesh Kumar MJ 166 posts 522 karma points MVP c-trib
    Jun 12, 2020 @ 13:26
    Dhanesh Kumar MJ
    0

    Hi Nigel,

    The same error is happening to me also when I tried with an upgrade task, what I do to resolve is try to upgrade to the next version and this fixed automatically :),

    Otherwise, install a fresh Umbraco with the same version and copy the Umbraco & Umbracoclient files to the project that facing the issues and update the clientdependency version.

    please try this above, this will definitely work :)

  • Nigel Wilson 945 posts 2077 karma points
    Jun 12, 2020 @ 20:54
    Nigel Wilson
    0

    Hi "D K M J"

    Thanks for your response, appreciate it.

    So this morning I have:

    1. Downloaded the 7.13.2 zip file and compared the umbraco and umbraco_Client directories to that of my existing site. There were a few differences, however copying them across made no difference.

    2. Spun up new site using 7.13.2 with the starter kit, and then installed ui-o-matic using nuget. Still got the same errors (there are more errors in the console prior to trying to add a link)

    3. Upgraded the newly created site in 2 above to 7.13.3, changed the client dependency version, clear temp files and tried again. Same issues still exist.

    I guess I could keep heading along the upgrade path to see if it fixes the problem, but the site is a complex one (ucommerce plus other packages) and the potential to break other things puts me off trying.

    I'll have a scratch (of my head) and see if any epiphanies happen !

    Cheers

    Nigel

  • Comment author was deleted

    Jun 15, 2020 @ 07:32

    So to get this clear, it is the insert link button that doesn't work in the rte used by UI-O-Matic? When used on Umbraco 7.13.2

  • Nigel Wilson 945 posts 2077 karma points
    Jun 15, 2020 @ 07:35
    Nigel Wilson
    0

    Hi Tim

    Yes that is correct...

    Cheers

    Nigel

  • Comment author was deleted

    Jun 15, 2020 @ 07:40

    Minds showing the bit of js where it goes wrong? (by expanding the console error)

    I'm guessing it will be in this file:

    https://github.com/TimGeyssens/UIOMatic/blob/v2/src/UIOMatic/Web/UI/App_Plugins/UIOMatic/backoffice/views/fieldeditors/rte.controller.js

  • Comment author was deleted

    Jun 15, 2020 @ 07:50

    And maybe try adding && $scope.properties != null to that file (on line 22) in your project? /App_Plugins/UIOMatic/backoffice/views/fieldeditors/rte.controller.js

  • Nigel Wilson 945 posts 2077 karma points
    Jun 15, 2020 @ 18:42
    Nigel Wilson
    0

    Hi Tim

    Thanks for that, however it hasn't resolved the issue.

    I have realised / discovered there is an error when first loading a record from a table (and before trying to add a link in the RTE). Not sure they are definitely related, but figure it is possible. My angular knowledge ain't great so hoping you can advise ?

    enter image description here

    Thanks again

    Nigel

  • Comment author was deleted

    Jun 15, 2020 @ 20:02

    no worries, will have a detailed look tomorrow (it's evening here in BE now), catch you later!

  • Nigel Wilson 945 posts 2077 karma points
    Jun 22, 2020 @ 17:37
    Nigel Wilson
    0

    Hi Tim

    Just wondering if you've had a chance to have a look ?

    Cheers

    Nigel

Please Sign in or register to post replies

Write your reply to:

Draft