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.

  • Kent 30 posts 54 karma points
    Jun 27, 2013 @ 22:48
    Kent
    0

    Can't save categories

    Using the latest build of uCommerce (3.6.1.13149), I can no longer save on the product categories page. Even if I don't make any changes. I get an 'Object reference not set to an instance of an object.' exception.

     

    Stack Trace:

     

    [NullReferenceException: Object reference not set to an instance of an object.]

       UCommerce.Web.UI.Catalog.EditProductBaseProperties.View_Saving(Object sender, EntityCommandEventArgs`1 e) +101

       System.EventHandler`1.Invoke(Object sender, TEventArgs e) +0

       UCommerce.Web.UI.Catalog.EditProduct.SaveButton_Clicked(Object sender, ImageClickEventArgs e) +89

       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +133

       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +203

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803

  • Kent 30 posts 54 karma points
    Jun 27, 2013 @ 23:08
    Kent
    0

    Figured it out. The problem was that, in an effort to customize the uCommerce admin UI per a client's request, I had commented out a couple of properties in EditProductBaseProperties.ascx. The EditProductBaseProperties.View_Saving() method was referencing those fields. The solution was, instead of removing that code from the view entirely, just wrap it in a div with display: none.

    Sure am looking forward to the ability to customzie the admin UI OTB because I've had to resort to a series of hacks like this.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 28, 2013 @ 09:08
    Søren Spelling Lund
    0

    Thanks for being awesome an posting a follow up on the forum.

    Could you elaborate a bit on what you mean by, "looking forward to the ability to customzie the admin UI OTB because I've had to resort to a series of hacks like this". Seems there's feature request in there. I'd like to make sure I understand properly what you'd like to be able to do.

    Thanks.

  • Kent 30 posts 54 karma points
    Jun 30, 2013 @ 20:41
    Kent
    0

    Hi Soren, my client has requested a number of UI changes to the uCommerce backend. Mostly hiding fields/tabs they don't use and renaming some fields. But I'm also creating a new Categories tab that would enforce mutual exclusivity of categories (e.g. can only be mens or womens). I'm also creating a new media tab that is similar to the existing, but shows thumbnails of the images selected and has some intelligent suggestions for selecting new product images based on media items that already exist (setting 8-12 product images on a couple hundred products can be very time consuming). Another request that my client has is, on any of the product views, to show the SKU in the button bar, or anywhere that is prominent really. They want to be able to see which SKU they are editing even if they are on the media tab, for example.

    You may recall giving us a demo recently. You had mentioned that the ability to customize the admin portal is on the radar so that is what I was referring to by "looking forward to customize out of the box". The feature request is to make the admin UI more configurable, in general. This means the ability to hide/rename fields more easily and, most importantly, I would like access to the same API that uCommerce uses to create/edit products. For example, if I create a new categories tab I also need access to the API to update the product's categories. Hope this helps.

Please Sign in or register to post replies

Write your reply to:

Draft