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.
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?
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.
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.
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.
is working on a reply...