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.

  • Justin 19 posts 163 karma points
    Apr 16, 2015 @ 03:02
    Justin
    0

    Backoffice Product Screen Hangs

    Hi guys,

    In the uCommerce back office, when selecting a product from the product list in a category. The product screen hangs when i select one of the product tabs (such as 'Pricing' or 'Media').

    I have never worked with AngularJS before but a debug shows me that the issue is related to the following code in Angular.js:

      scope.$watch(function ngRepeatWatch(scope){
        var index, length,
            collection = scope.$eval(rhs)......... (shortened for brevity)
    

    the scope at this point has an id of 008 and and formName = catalogs.

    The code then goes on to iterate over the scope selectedNodes collection which is over 2400 items long. It eventually gets there and the screen loads but it takes a good few minutes.

    i have deleted products, categories and anything else i can think of to start again but the problem persists.

    Any ideas what may be going on here?

    Thanks you.

    Justin

    Note: I have just tested this using FireFox and it seems ok. I still have this issue with IE11 tho. weird!!!

  • Morten Skjoldager 440 posts 1499 karma points
    Apr 21, 2015 @ 13:02
    Morten Skjoldager
    0

    Hi Justin,

    The "only" angular related stuff on the product editor directly, is the categories tab (assuming you have one of the newer versions of uCommerce). My assumption is that it might be data related in terms of how many categories you have selected in the product editor.

    I've just tested it on my local computer with IE11. I cannot reproduce it (right now). 

    Can you run me a few numbers here:

    How large is your catalog section (number of stores, catalogs and categories). 

    Is it reproducable across all products (even with products that have only 1 category selected in the category tab). 

    Best regards

    Morten

Please Sign in or register to post replies

Write your reply to:

Draft