Copied to clipboard

Flag this post as spam?

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


  • Rotem Orbach 79 posts 452 karma points
    22 days ago
    Rotem Orbach
    0

    Cannot copy media

    Hi, I've upgraded umbraco from 7.4.3 to 7.13.1. When trying to copy media, I get the following error:

    enter image description here

    and this:

    enter image description here

    Anyone?

  • Alex Skrypnyk 5178 posts 18868 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    Hi Rotem

    It looks like there is the wrong javascript in your browser.

    Did you merge trees.config and dashboard.config files?

    Did you reset client dependency version and clear browser cache?

    Thanks

    Alex

  • Rotem Orbach 79 posts 452 karma points
    18 days ago
    Rotem Orbach
    0

    HI Alex, I keep hearing about merging the trees.config and dashboard.config. can u please elaborate on that, or supply me with a url to the relevant documentation?

    in regards to client dependency, yes, I reset the clientDependency.config :)

  • Alex Skrypnyk 5178 posts 18868 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    Hi Rotem

    Just go to ~/Config/trees.config and ~/Config/Dashboard.config, open these files in winmerge or similar tool and see differences in the newer version.

    Just replace lines and that's it.

    Or if you use GIT - replace files from a newer version and while committing check what was changed and push needed changes.

    Thanks,

    Alex

  • Rotem Orbach 79 posts 452 karma points
    18 days ago
    Rotem Orbach
    0

    Hi Alex, thanks, but I still don't quite understand: Should I compare trees.config to it's older self? What am I looking for? should I copy lines from the older to the newer version, or should I remove lines from, the newer version (that does not exists in the older one)?

  • Alex Skrypnyk 5178 posts 18868 karma points MVP 2x admin c-trib
    18 days ago
    Alex Skrypnyk
    0

    Copy lines that were changed from new to old.

  • Alex Skrypnyk 5178 posts 18868 karma points MVP 2x admin c-trib
    1 week ago
    Alex Skrypnyk
    0

    Hi Rotem

    Did you fix this issue? Did you find a way to make it work?

    Thanks,

    Alex

  • Rotem Orbach 79 posts 452 karma points
    5 days ago
    Rotem Orbach
    0

    Hi Alex, sorry for the late reply. As soon as I do that, the error remains the same, and I get: enter image description here

  • Rotem Orbach 79 posts 452 karma points
    5 days ago
    Rotem Orbach
    101

    Hi Alex, Well, it seems that I solved the issue :)

    I searched for this method: CopyController, and I found out that I have this method call under Umbraco/Views/Media/copy.html:

    <div ng-controller="Umbraco.Editors.Media.CopyController">
    

    but, there is no such method in the code, so we get the "no such function" error" (obviously)

    SO, I compared this file (copy,html to the same file under "UmbracoCms.7.13.2.zip", and is seems that there's no such file, which lead me to the conclusion that the copy file is one of two: 1) a remnant from an older Umbraco's version. 2) a remnant from an old Umbraco's package, not installed in my version.

    Option 2 was the correct one:

    https://our.umbraco.com/packages/backoffice-extensions/umbraco-media-copy/

    Just downloaded and install and presto! bug is gone!

    thanks man

Please Sign in or register to post replies

Write your reply to:

Draft