Form problems with DateTime Search Fields

3
Hello, I've recently upgraded to version 2.5.5.1 of the modeler, and I currently have a problem concerning DateTime search fields in a data grid. I currently have a form with a multitude of search fields and an Xpath. The Xpath is as follows: [ContactPersonType = 'Supplier'] [FirstName != empty] [RelationshipCustomerModule.ContactPersonDocument_ContactPerson/RelationshipManagementCustomerModule.ContactPersonDocument[DocumentType = 'VAR_Verklaring' or DocumentType = 'Paspoort_Kopie']] Two of the search fields are datetime fields. They both search on the same field, but one has an 'greater or equal' and the other has a 'smaller or equal' comparison. The field is these search fields point to is a linked entity (a specialization of System.Filedocument) which contains an Expiration date. Whenever one of these search fields is filled in (also goes if a default value is filled in), the following error occurs: kL: An exception has occurred for the following request(s): jE (depth = -1, amount = 20): //RelationshipManagement.ContactPerson[ContactStatus='Active' and RelationshipManagementCustomerModule.ContactPersonDocument_ContactPerson<'1307232000000'][ContactPersonType = 'Supplier'] [FirstName != empty] [RelationshipManagementCustomerModule.ContactPersonDocument_ContactPerson/RelationshipManagementCustomerModule.ContactPersonDocument[DocumentType = 'VAR_Verklaring' or DocumentType = 'Paspoort_Kopie']] Caused by: java.lang.ArrayIndexOutOfBoundsException: 304 at cJ.a(SourceFile:1510) at ay.a(SourceFile:135) at ay.<init>(SourceFile:100) at com.mendix.core.Core.createMendixIdentifier(SourceFile:1647) at dz.d(SourceFile:91) at lb.c(SourceFile:78) at T.d(SourceFile:1213) at T.a(SourceFile:811) at T.a(SourceFile:390) at T.a(SourceFile:168) at T.a(SourceFile:141) at T.a(SourceFile:127) at hC.G(SourceFile:1450) at hC.v(SourceFile:246) at hC.a(SourceFile:145) at T.a(SourceFile:1016) at T.a(SourceFile:910) at T.a(SourceFile:592) at T.a(SourceFile:168) at T.a(SourceFile:141) at hC.G(SourceFile:1450) at hC.v(SourceFile:246) at hC.a(SourceFile:145) at go.b(SourceFile:117) at go.a(SourceFile:87) at lw.a(SourceFile:69) at jC.a(SourceFile:47) at jm.a(SourceFile:222) at eJ.a(SourceFile:101) at eJ.a(SourceFile:74) at eJ.executeAction(SourceFile:24) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at gp.execute(SourceFile:289) at ju.a(SourceFile:299) at ju.a(SourceFile:230) at ju.processRequest(SourceFile:174) at fF.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:938) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:42) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) I appreciate any feedback you can give me. Kind regards, Ferry
asked
2 answers
0

It looks like the query is not translated correctly. Can you file a bug report at support.mendix.com?

answered
0

Is this fixed? We're getting the same issue with an attribute which we can't use in a datagrid, but we can set it as a search filter. But when this filter is applied it will occur same error as above.

answered