Copied to clipboard

Flag this post as spam?

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


  • Jerker Stigsson 63 posts 122 karma points
    Mar 24, 2016 @ 09:43
    Jerker Stigsson
    0

    Select media with mediapicker doesn't work after upgrade

    I have upgraded from 7.2.6 to 7.4.2.

    Select media with mediapicker doesn't work after upgrade. There are no thumbnail images on the right pane, where you pick media items.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 24, 2016 @ 15:26
    Jan Skovgaard
    0

    Hi Jerker

    How did you do the upgrade? Was it using nuget or manually?

    Do you see any log entries in the /App_Data/Logs file marked with "ERROR" or "WARNING", which are related to the issues you're having? Or what about the browser console log? Does it reveal any errors?

    Perhaps try clearing the backoffice cache by incrementing/bumping the version number attribute in the /config/ClientDependency.config file and recycling the app pool and see if that works? Sometimes it's a simple as that.

    Maybe reading some of Sebastiaans tips here can provide other thing to try out? https://cultiv.nl/blog/how-to-diagnose-umbraco-upgrade-problems/

    /Jan

  • Jerker Stigsson 63 posts 122 karma points
    Mar 29, 2016 @ 09:40
    Jerker Stigsson
    0

    Here is a screendump where the problem occurs, there are no thumbnail images in the rightpane. The images exist though. The images appears as they should in the Media.

    enter image description here

    In the browser console I find this error:

    /umbraco/lib/angular/1.1.5/angular.min.js:63 TypeError: Cannot read property 'dataY' of undefined
        at Object.fn (/App_Plugins/Lecoati.uSky.Slider/lib/draggable.js:46)
        at Object.e.$digest (/umbraco/lib/angular/1.1.5/angular.min.js:90)
        at Object.e.$apply (/umbraco/lib/angular/1.1.5/angular.min.js:92)
        at j (/umbraco/lib/angular/1.1.5/angular.min.js:101)
        at r (/umbraco/lib/angular/1.1.5/angular.min.js:104)
        at XMLHttpRequest.w.onreadystatechange (/umbraco/lib/angular/1.1.5/angular.min.js:106)
    
  • Jerker Stigsson 63 posts 122 karma points
    Mar 29, 2016 @ 09:41
    Jerker Stigsson
    0

    Jan, thanks for your advices.

    I used nuget.

    I've tried to empty the cache by incremtenting ClientDependency.config and emptyed the browser cache.

    Still the same problem.

    In the browser console log I get this:

    angular.min.js:63 TypeError: Cannot read property 'dataY' of undefined
        at Object.fn (draggable.js:46)
        at Object.e.$digest (angular.min.js:90)
        at Object.e.$apply (angular.min.js:92)
        at j (angular.min.js:101)
        at r (angular.min.js:104)
        at XMLHttpRequest.w.onreadystatechange (angular.min.js:106)
    
  • Frederik Raabye 72 posts 276 karma points MVP 2x c-trib
    Mar 29, 2016 @ 11:07
    Frederik Raabye
    0

    I am experiencing something similar.

    I cant' see the thumbnails in the picker or the media section listings. They show alright, including crops, when editing media.

    All caches cleared including local storage and I get the exact same stack trace.

    Please share if you find the cause.

  • James Jackson-South 489 posts 1747 karma points c-trib
    Mar 29, 2016 @ 11:43
    James Jackson-South
    0

    Hi Jerker,

    From your initial logged error I can see that it is a plugin throwing the exception.

    https://our.umbraco.org/projects/backoffice-extensions/uskyslider/

    According to the compatibility matrix the plugin is untested on 7.4.x

    I would try excluding it initially and see if that fixes the issue. If so I would then get in touch with the package owner.

    Cheers

    James

  • Frederik Raabye 72 posts 276 karma points MVP 2x c-trib
    Mar 29, 2016 @ 12:12
    Frederik Raabye
    0

    Thanks, James! Completely missed that part.

    The package had been uninstalled but the files were still in app_plugins. Works as expected after deleting the folder.

  • James Jackson-South 489 posts 1747 karma points c-trib
    Mar 29, 2016 @ 12:23
    James Jackson-South
    0

    Great! Hopefully that should solve the problem for both of you.

  • Jerker Stigsson 63 posts 122 karma points
    Apr 01, 2016 @ 12:44
    Jerker Stigsson
    100

    Thank you James!

    I solved this issue by renaming the directive in the draggable.js file. This file belongs to the plugin from the Lecoati.uSky.slider. It was this file that gave the error message.

    When I renamed the directive I also had to rename where it get called in the uSky.Slider.controller.js file.

    I guess that this directive name crashes with some new directives in umbraco native angular files after upgrade.

Please Sign in or register to post replies

Write your reply to:

Draft