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.

  • David MacCrimmon 5 posts 25 karma points
    Jun 21, 2011 @ 18:39
    David MacCrimmon
    0

    Method not supported

    Hello,

    I'm trying to test the order history section of a new ucommerce 2.0 install using the demo shop. However I get the following error message when trying to view it.

    Error parsing XSLT file: \xslt\OrderHistory[XSLT].xslt

    Looking in the log table the following error appears.

    Specified method is not supported.
    System.String GetClassName(NHibernate.Hql.Ast.ANTLR.Tree.IASTNode)
       at NHibernate.Hql.Ast.ANTLR.PolymorphicQuerySourceDetector.GetClassName(IASTNode querySource)
       at NHibernate.Hql.Ast.ANTLR.PolymorphicQuerySourceDetector.Process(IASTNode tree)
       at NHibernate.Hql.Ast.ANTLR.AstPolymorphicProcessor.Process()
       at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IASTNode ast, String queryIdentifier, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
       at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryIdentifier, IQueryExpression queryExpression, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory)
       at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow, IDictionary`2 enabledFilters)
       at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(IQueryExpression queryExpression, Boolean shallow)
       at NHibernate.Impl.AbstractSessionImpl.CreateQuery(IQueryExpression queryExpression)
       at NHibernate.Linq.NhQueryProvider.PrepareQuery(Expression expression, IQuery& query, NhLinqExpression& nhQuery)
       at NHibernate.Linq.NhQueryProvider.Execute[TResult](Expression expression)
       at Remotion.Data.Linq.QueryableBase`1.GetEnumerator()
       at UCommerce.Xslt.Rendering.XmlRenderer`1.RenderDocument(IEnumerable`1 source, String rootElementName)
       at UCommerce.Xslt.TransactionLibrary.GetMemberOrderHistory(String statusName, Boolean allCatalogGroups)
       at UCommerce.Xslt.Library.<>c__DisplayClassd1.<GetMemberOrderHistory>b__d0()
       at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

     

    Is this a known error or am I doing something wrong?

    Thanks,

    Dave.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 21, 2011 @ 21:39
    Søren Spelling Lund
    0

    Hi David,

    You are doing it right. There was an issue with the query loading order history since we moved everything over to NHibernate. I went ahead a released version 2.0.1.0, which fixes this particular issue.

    Grab uCommerce 2.0.1.0 from our site.

    Sorry for the inconvenience.

Please Sign in or register to post replies

Write your reply to:

Draft