Converting 2.3.3 to 2.4.4.1

2
I converted a 2.3.3 project to 2.4.4.1 everything works fine after some adjustments. But I got one problem left. When I start the converted 2.4.4.1 project and go to a form with a specific search value for year (referenced number) I get an error. The error is shown below. Does anyone know what I have to do to make this work? Nov 25 10:12:14 127.0.0.1 agiszibt: INFO - CONNECTIONBUS_RETRIEVE: An exception has occurred for the following request(s): XPathTextGetRequest (depth = -1): count(//OfferteConfiguratie.PrestatieBeheer[contains(OfferteConfiguratie.PrestatieBeheer_Jaargang/AWBZ.Jaargang/Jaargang,2009)]) Nov 25 10:12:14 127.0.0.1 agiszibt: INFO - CORE_ACTIONMANAGEMENT: Exception occurred in action '[RetrieveAction:: Context:Context() xpath:count(//OfferteConfiguratie.PrestatieBeheer[contains(OfferteConfiguratie.PrestatieBeheer_Jaargang/AWBZ.Jaargang/Jaargang,2009)])]', all database changes executed by this action were rolled back Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: A server exception occurred: Unknown predicate function expression type of second parameter: [(DefaultNumberExpr): 2009.0] Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (1/74) java.lang.RuntimeException: Unknown predicate function expression type of second parameter: [(DefaultNumberExpr): 2009.0] Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (2/74) com.mendix.core.actionmanagement.B.B(ActionManager.java:162) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (3/74) com.mendix.core.Core.retrieveXPathQueryAggregate(Core.java:1454) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (4/74) com.mendix.core.action.client.RetrieveXPathAggregateAction.execute(RetrieveXPathAggregateAction.java:42) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (5/74) com.mendix.externalinterface.servlet.B.A(ServletHandler.java:103) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (6/74) com.mendix.externalinterface.servlet.HttpServlet.A(HttpServlet.java:120) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (7/74) com.mendix.externalinterface.servlet.MxServlet.B(MxServlet.java:71) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (8/74) com.mendix.externalinterface.servlet.MxServlet.doPost(MxServlet.java:54) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (9/74) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (10/74) javax.servlet.http.HttpServlet.service(HttpServlet.java:820) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (11/74) org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (12/74) org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (13/74) org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (14/74) org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (15/74) org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (16/74) org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (17/74) org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (18/74) org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (19/74) org.mortbay.jetty.Server.handle(Server.java:326) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (20/74) org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (21/74) org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (22/74) org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (23/74) org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (24/74) org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (25/74) org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (26/74) org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (27/74) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (28/74) Caused by: Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (29/74) Unknown predicate function expression type of second parameter: [(DefaultNumberExpr): 2009.0] Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (30/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:764) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (31/74) com.mendix.connectionbus.retrieve.A.A.A.B(XPathToOQLConverter.java:568) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (32/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:492) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (33/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:456) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (34/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:364) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (35/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:285) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (36/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:173) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (37/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:143) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (38/74) com.mendix.connectionbus.retrieve.A.A.A.A(XPathToOQLConverter.java:125) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (39/74) com.mendix.connectionbus.retrieve.A.A.A.B(XPathToOQLConverter.java:95) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (40/74) com.mendix.connectionbus.retrieve.A.B.A(QueryParser.java:39) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (41/74) com.mendix.connectionbus.retrieve.requests.XPathTextGetRequest.getSuitableRequest(XPathTextGetRequest.java:31) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (42/74) com.mendix.connectionbus.retrieve.B.A(GetRequestHandler.java:43) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (43/74) com.mendix.connectionbus.E.A(RequestAnalyzer.java:45) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (44/74) com.mendix.connectionbus.D.A(ConnectionBus.java:191) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (45/74) com.mendix.core.action.user.RetrieveXPathAggregateAction.retrieveAggregateNumber(RetrieveXPathAggregateAction.java:66) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (46/74) com.mendix.core.action.user.RetrieveXPathAggregateAction.executeAction(RetrieveXPathAggregateAction.java:41) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (47/74) com.mendix.core.action.user.RetrieveXPathAggregateAction.executeAction(RetrieveXPathAggregateAction.java:18) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (48/74) com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:60) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (49/74) com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:378) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (50/74) com.mendix.core.actionmanagement.B.B(ActionManager.java:153) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (51/74) com.mendix.core.Core.retrieveXPathQueryAggregate(Core.java:1454) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (52/74) com.mendix.core.action.client.RetrieveXPathAggregateAction.execute(RetrieveXPathAggregateAction.java:42) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (53/74) com.mendix.externalinterface.servlet.B.A(ServletHandler.java:103) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (54/74) com.mendix.externalinterface.servlet.HttpServlet.A(HttpServlet.java:120) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (55/74) com.mendix.externalinterface.servlet.MxServlet.B(MxServlet.java:71) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (56/74) com.mendix.externalinterface.servlet.MxServlet.doPost(MxServlet.java:54) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (57/74) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (58/74) javax.servlet.http.HttpServlet.service(HttpServlet.java:820) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (59/74) org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (60/74) org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (61/74) org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (62/74) org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (63/74) org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (64/74) org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (65/74) org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (66/74) org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (67/74) org.mortbay.jetty.Server.handle(Server.java:326) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (68/74) org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (69/74) org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (70/74) org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (71/74) org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (72/74) org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (73/74) org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) Nov 25 10:12:14 127.0.0.1 agiszibt: ERROR - EXTERNALINTERFACE: (74/74) org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
asked
1 answers
3

This is an issue with some 2.4.x versions where searching on integer/autonumber values fails because the XAS adds a .0 notation (which obviously isn't correctly handled as integers and autonumbers normally do not have any decimal numbers). For example, an integer value of 2009 in a search field will be converted to 2009.0 on searching, which isn't a valid integer value and thus the error message.

I believe this was on the fix list for 2.4.5 which was released yesterday. But I have not yet verified whether or not this particular issue has been resolved in 2.4.5.

answered