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.

  • Martin 44 posts 66 karma points
    Oct 11, 2011 @ 10:07
    Martin
    0

    GetNiceUrlForCategory exception

    Hi there,

    When I call the method GetNiceUrlForCategory, I get the following exception:

    System.NullReferenceException: Object reference not set to an instance of an object.
    at UCommerce.Catalog.UrlService.GetUrl(ProductCatalog catalog, Category category)
    at UCommerce.Xslt.CatalogLibrary.GetNiceUrlForCategory(String catalogName, String categoryName)
    at UCommerce.Xslt.Library.<>c__DisplayClass2d.b__2c()
    at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
    at UCommerce.Xslt.Library.GetNiceUrlForCategory(String catalogName, String categoryName)

     

    This is the XSLT I used:

      <xsl:copy-of select="CommerceLibrary:GetNiceUrlForCategory('uCommerce', 'Software')" />

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 11, 2011 @ 18:13
    Søren Spelling Lund
    0

    It's a bug. I've included a fix in the uCommerce 2.1.0.0 prerelease.

Please Sign in or register to post replies

Write your reply to:

Draft