Title: Bericht
Hi,
 
It seems that MMBase 1.7 running on Postgresql can not handle maxNumbers other than -1. In this case, the following error is thrown: "Value of maxNumber other than -1 not supported."
 
We encountered this problem in the Editwizards lists specifying a pagelength parameter other than -1.
Stacktrace suggest his happens on the NodeManager.getList() method.
 
java.lang.UnsupportedOperationException: Value of maxNumber other than -1 not supported.java.lang.UnsupportedOperationEx
ception: Value of maxNumber other than -1 not supported.
        at org.mmbase.storage.search.implementation.database.BasicSqlHandler.toSql(Unknown Source)
        at org.mmbase.storage.search.implementation.database.BasicQueryHandler.getNodes(Unknown Source)
        at org.mmbase.module.database.support.BaseJdbc2Node.getNodes(Unknown Source)
        at org.mmbase.bridge.implementation.BasicNodeManager.getList(Unknown Source)
        at org.apache.jsp.list_jsp._jspService(list_jsp.java:544)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        .....
 
Is this a bug ? We would like to limit the amount of results per page on the editwizards list like we were able to do in 1.6.
 
Regards,
 
Peter
 
 
 
 

Reply via email to