Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Filip Lundby 128 posts 149 karma points
    Jul 11, 2014 @ 10:17
    Filip Lundby
    0

    Modal-window doesnt close

    Umbraco 6.2.1 with uCommerce 6.0.3.14141

    When creating a new field for a product, the modal doesn't close after clicking "Create". This happens for other modals, but only in the uCommerce-section. Clicking "Cancel" won't close the window either. Only clicking the cross in the upper right corner works. However the item does get created...

    Video demonstration: http://screencast.com/t/WmIqzjLX

    From Chrome console: http://screencast.com/t/EVNAykjvSlV

    This happens on two different installations on two different machines.

  • Tom Madden 253 posts 455 karma points MVP 4x c-trib
    Jul 16, 2014 @ 09:01
    Tom Madden
    0

    I'm getting a very similar issue with the latest version of uCommerce and Umbraco 6.2.1. The symptoms are the same, but the console error is:

    1. Uncaught TypeError: Cannot read property 'setUmbracoPath' of undefined create.aspx?nodeId=Category_67&nodeType=category&nodeName=Software&rnd=66.1&rndo=67.9:163
    1. Uncaught TypeError: Cannot read property 'closeModalWindow' of undefined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvQXBwbGljYXRpb24…:2195

     

    Regards Tom

  • Morten Skjoldager 440 posts 1499 karma points
    Jul 16, 2014 @ 10:08
    Morten Skjoldager
    101

    Hi guys,

    Seems as UmbClientMgr is not defined in the right scope. The solution for now is to edit in this script file:

    Umbraco\ucommerce\Scripts\UCommerce4_1.js

    Search and replace UmbClientMgr to top.UmbClientMgr.

    Remember to clear client dependency by deleting clientdependency files under app data and under web.config find client dependency version number and bump it up with 1. 

    Why this is suddently happening is hard to say :) 

    We'll include the same fix it for next release.

  • Filip Lundby 128 posts 149 karma points
    Jul 16, 2014 @ 11:05
    Filip Lundby
    0

    Hi Morten

    Thanks, this worked - the window now closes correctly. However the erorrs are still showing in the console ...

  • Morten Skjoldager 440 posts 1499 karma points
    Jul 16, 2014 @ 12:32
    Morten Skjoldager
    0

    Yes i realize that. But if you set debug mode in wen.config (under compilation), you will see that the errors origin in Umbraco specific js files, not uCommerce. Not really much i can do about that :) 

  • Filip Lundby 128 posts 149 karma points
    Jul 16, 2014 @ 14:33
    Filip Lundby
    0

    Thumbs up. Thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft