What does this mean and how can it be fixed : Caused by: com.mendix.core.CoreException: com.mendix.systemwideinterfaces.core.DataValidationRuntimeException: unique???

0
I am not sure what this error means and how it is caused: "Caused by: com.mendix.core.CoreException: com.mendix.systemwideinterfaces.core.DataValidationRuntimeException: unique" please find enclosed the stack trace for this error. An error has occurred while handling the request. [User 'MxAdmin' with roles 'MxAdministrator'] com.mendix.core.CoreException: Exception occurred in action 'Microflow [ProblemManagement.RetriveClarifyTickets]', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553) Caused by: com.mendix.core.CoreException: Exception occurred in microflow 'ProblemManagement.RetriveClarifyTickets' for activity 'Call 'ClarifyCubeQueryProblemTickets'', all database changes executed by this microflow were rolled back at kM.b(SourceFile:252) Caused by: com.mendix.core.CoreException: com.mendix.systemwideinterfaces.core.DataValidationRuntimeException: unique at it.b(SourceFile:167) Caused by: com.mendix.systemwideinterfaces.core.DataValidationRuntimeException: unique at fG.a(SourceFile:204) at lg.setValue(SourceFile:236) at com.mendix.core.objectmanagement.member.MendixString.setValue(SourceFile:75) at com.mendix.core.objectmanagement.member.MendixString.parseValueFromString(SourceFile:58) at aQ.setValue(SourceFile:274) at problemmanagement.proxies.ClarifyTicket.setTicketID(ClarifyTicket.java:121) at problemmanagement.proxies.ClarifyTicket.setTicketID(ClarifyTicket.java:111) at problemmanagement.actions.ClarifyCubeQueryProblemTickets.executeAction(ClarifyCubeQueryProblemTickets.java:175) at problemmanagement.actions.ClarifyCubeQueryProblemTickets.executeAction(ClarifyCubeQueryProblemTickets.java:1) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473) at it.b(SourceFile:155) at com.mendix.core.Core.execute(SourceFile:191) at hi.a(SourceFile:70) at kM.a(SourceFile:67) at eR.executeAction(SourceFile:96) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:49) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:473) at it.b(SourceFile:155) at com.mendix.core.Core.execute(SourceFile:191) at dB.execute(SourceFile:183) 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:203) 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(Unknown Source)
asked
2 answers
0

It means that you're trying to set an attribute (TicketId) in domain entity ClarifyTicket to a value that's not unique. In other words: there's already a ClarifyTicket with the same TicketID.

answered
0

Seems like you have a validation rule at your entity, 1 attribute is not unique.

answered