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.

  • Bárður Joensen 7 posts 28 karma points
    Oct 24, 2014 @ 12:50
    Bárður Joensen
    0

    Newly created Category doesn't show in backoffice

    Hi there

    I'm running Umbraco 7.1.8 with uCommerce for Umbraco7 v. 6.3.1.14280 and the razor demo store v. 3.0.2.14195.

    I'm playing around trying to create products, but can't get it working properly. Creating categories to the avenue-clothing.com store seems to function properly (no errors), but the category doesn't show in the tree. This means, I can't edit or delete it once created (can't add products), and I can't create a new one with similar name, as I get an error saying "Name already exists within catalog".

    Any suggestions how to fix this?

    Edit: It turns out, that I actually get some javascript errors when opening the "Create" dialog:

    Uncaught ReferenceError: Umbraco is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29VdGlscy5qczsvdW1icmFjb19jbGl…:2(anonymous function) DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29VdGlscy5qczsvdW1icmFjb19jbGl…:2
    
    Uncaught ReferenceError: jQuery is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL0V4dGVuc2lvbnMuanM7L3VtYnJhY29fY2xpZW5…:40
    
    Uncaught ReferenceError: Umbraco is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOw&t=Ja…:2
    
    Uncaught TypeError: Cannot read property 'setUmbracoPath' of undefined VM4481 create.aspx?nodeId=ProductCatalog_24&nodeType=product_catalog&nodeName=Demo%20Store&rnd=6354…:165(anonymous function)
    
  • Morten Skjoldager 440 posts 1499 karma points
    Oct 27, 2014 @ 09:42
    Morten Skjoldager
    0

    This could indicate that there's some problems with compatibility with that version of Umbraco. Is this based on a clean install or something similar? 

    What happens if you clear client dependency from App_Data and reloads the page? 

    Best Regards

    Morten

  • marcelh 171 posts 471 karma points
    Oct 27, 2014 @ 14:26
    marcelh
    0

    Same issue here. Fresh install of Umbraco 7.1.8 with UCommerce 6.3.1.14280.

    When creating a new catalog or category (right click > create), the following messages are shown in FireFox Console: x) ReferenceError: Umbraco is not defined ...mbraco.Utils.generateRandom=function(){var day=new Date();var z=day.getTime();va... x) ReferenceErrer: jQuery is not defined ...se,isDebug:false,mainTree:null,appActions:null,historyMgr:null,_rootPath:"/u... x) TypeError: umbClientMgr is undefined UmbClientMgr.setUmbracoPath("/umbraco");

    The category is created, when logging-out and back in the created category appears. It looks like the tree gets refreshed but the categories appear to be cached. Reloading the nodes does not show the new category.

    Deleting the ClientDependency folder from /App_Data/TEMP does not solve the problem either.

    Other comparable functionality works as espected (eg creating new fields under a product definition).

  • Bárður Joensen 7 posts 28 karma points
    Oct 28, 2014 @ 10:43
    Bárður Joensen
    0

    Hi Morten

    This is a clean install. Tried clearing ClientDependency without any luck. Same error as marcelh.

  • Morten Skjoldager 440 posts 1499 karma points
    Oct 28, 2014 @ 14:14
    Morten Skjoldager
    0

    Hi guys. Please download the newest version of uCommerce. This contains a fix for the issue. Released today :)

    http://www.ucommerce.net/en/products/download.aspx

  • Bárður Joensen 7 posts 28 karma points
    Oct 28, 2014 @ 15:34
    Bárður Joensen
    0

    Hi again, Morten

    Unfortunately, this does not fix the error in my case. I still get these errors:

    Uncaught ReferenceError: Umbraco is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29VdGlscy5qczsvdW1icmFjb19jbGl…:2
    
        Uncaught ReferenceError: jQuery is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL0V4dGVuc2lvbnMuanM7L3VtYnJhY29fY2xpZW5…:40
    
        Uncaught ReferenceError: Umbraco is not defined DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOw&t=Ja…:2
    
        Uncaught TypeError: Cannot read property 'setUmbracoPath' of undefined VM2332 create.aspx?nodeId=ProductCatalog_24&nodeType=product_catalog&nodeName=Demo%20Store&rnd=6355…:165
    

    This is on a clean install of Umbraco 7.1.8, with the newest uCommerce for Umbraco7, v. 6.4.4.14301

  • Morten Skjoldager 440 posts 1499 karma points
    Oct 30, 2014 @ 15:28
    Morten Skjoldager
    0

    I see those java script errors, but they don't affect that the category should be created. Just setup a clean 7.1.8 with the 6.4.4 version. Category is loaded in the tree when created. 

  • marcelh 171 posts 471 karma points
    Oct 30, 2014 @ 17:15
    marcelh
    0

    I can confirm that on Umbraco 7.1.8 the upgrade with version 6.4.4. solves the issue. The category is added to the tree directly. Removal of the newly added category also works again. Thanks Morten!

Please Sign in or register to post replies

Write your reply to:

Draft