Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

Compare revisions - Would be great to have that available for Mx code ...

$
0
0

Developing Java applications, every now and then you use subversions "compare revisions" to check what when a change was made. By whom. And why.

The last part is difficult as this completely depends on the level the developer documented the reason.

The second and first part, when and by whom, subversion is of good help. At least you get to see exactly what changed when and who checked the code in.

Am I correct that nothing like that is available for the Mx code at the moment?

Just now, I had to determine why a rollback was build in. I wanted to know who did it and when. The only thing I could come up with is opening old versions and looking into this specific MF to see if the change was there already.

Another thing is the way I have to find the differences between two versions of a MF. Am I correct that the only way to determine the changes is to visually check the MF's?

As the title says, would be great to have good developer support for these tasks.


Trouble commiting a previous version

$
0
0

Hello,

Someone of my team accidentaly commited a faulty version of a new function that we were working on.

Now we want to role back to a previous version of the main line and commit that, but we getting an error that one or more files are conflicted(not saying which files) and

says that we need to use TortoiseSVN to fix that error. But we don't know what we should TortoiseSVN for or how to use it.

Does someone have an idea?

 

 

How to apply custom styling to a document template

$
0
0

I am working on a document template and I have applied styling to my headers individually (i.e. using the style pop-up in Mendix). Am I correct to assume that this can be done more efficiently by applying css as a custom style on each object? How do I do that? I applied 'h2' as a custom style but when I render my document in Mendix I get an error.

Import SAP ODATA XML into Mendix

$
0
0

Hi,

 

I am working on a client case where we would like to import data provided by a SAP Odata service back into a Mendix application.  As far as I can see i receive my response in a XML string which I need to import using an Import mapping.

In order to create an import mapping i require and XML Schema (XSD) - which is not provided by SAP's Odata service.  Do I manually need to create an XSD or are there more efficient ways?

Thanks,

Han Pieter

PSQLException: This statement has been closed

$
0
0

Sometimes I get the following exception (it doesn't happen all the time, but rather frequently), does anyone have an idea what could cause this? I have tried to Google the error, but the results I get do not help me. I am running Mendix 6.6.0 in the standard Mendix cloud.

 

Oct 13 11:45:21.741 127.0.0.1 tr10000: ERROR - ActionManager: Exception in execution of monitored action '{"name":"Module.MicroflowName","type":"Microflow"}' (execution id: 9c621bb1-0a2a-4309-b24e-e20dc0a3fb69, execution type: CLIENT_ASYNC_MONITORED)
Oct 13 11:45:21.749 127.0.0.1 tr10000: ERROR - ActionManager: (1/111) com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.749 127.0.0.1 tr10000: ERROR - ActionManager: (2/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (3/111) 	at Module.MicroflowName2 (RetrieveFromCache : 'Retrieve Entity by $Account/Association')
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (4/111) 	at Module.MicroflowName (SubMicroflow : 'MicroflowName2')
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (5/111)
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (6/111) Advanced stacktrace:
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (7/111) 	at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143)
Oct 13 11:45:21.750 127.0.0.1 tr10000: ERROR - ActionManager: (8/111)
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (9/111) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (10/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (11/111) 	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178)
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (12/111)
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (13/111) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.751 127.0.0.1 tr10000: ERROR - ActionManager: (14/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (15/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (16/111)
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (17/111) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (18/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (19/111) 	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178)
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (20/111)
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (21/111) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.752 127.0.0.1 tr10000: ERROR - ActionManager: (22/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (23/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (24/111)
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (25/111) Caused by: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: An exception has occurred for the following request(s):
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (26/111) 	IdentifierGetRequest:  Object types: [Module.Entity]
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (27/111) 	at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:46)
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (28/111)
Oct 13 11:45:21.753 127.0.0.1 tr10000: ERROR - ActionManager: (29/111) Caused by: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: Exception occurred while retrieving data. (SQL State: 55000, Error Code: 0)
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (30/111) 	at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.getCorrectException(JDBCDataStore.java:1203)
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (31/111)
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (32/111) Caused by: org.postgresql.util.PSQLException: This statement has been closed.
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (33/111) 	at org.postgresql.jdbc.PgStatement.checkClosed(PgStatement.java:893)
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (34/111) 	at org.postgresql.jdbc.PgStatement.getMaxRows(PgStatement.java:479)
Oct 13 11:45:21.754 127.0.0.1 tr10000: ERROR - ActionManager: (35/111) 	at org.postgresql.jdbc.PgStatement.createResultSet(PgStatement.java:181)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (36/111) 	at org.postgresql.jdbc.PgStatement$StatementResultHandler.handleResultRows(PgStatement.java:231)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (37/111) 	at org.postgresql.core.v3.QueryExecutorImpl$1.handleResultRows(QueryExecutorImpl.java:398)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (38/111) 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1947)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (39/111) 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (40/111) 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (41/111) 	at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:321)
Oct 13 11:45:21.755 127.0.0.1 tr10000: ERROR - ActionManager: (42/111) 	at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:284)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (43/111) 	at org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (44/111) 	at org.apache.commons.dbcp2.DelegatingStatement.executeQuery(DelegatingStatement.java:207)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (45/111) 	at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQuery(JDBCDataStore.java:308)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (46/111) 	at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.execRetrieveQueries(JDBCDataStore.java:203)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (47/111) 	at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:168)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (48/111) 	at com.mendix.connectionbus.connections.jdbc.JDBCDataStore.retrieve(JDBCDataStore.java:157)
Oct 13 11:45:21.756 127.0.0.1 tr10000: ERROR - ActionManager: (49/111) 	at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:229)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (50/111) 	at com.mendix.connectionbus.retrieve.DataStoreCaller.executeQueries(DataStoreCaller.java:196)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (51/111) 	at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:78)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (52/111) 	at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:62)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (53/111) 	at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:41)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (54/111) 	at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:449)
Oct 13 11:45:21.757 127.0.0.1 tr10000: ERROR - ActionManager: (55/111) 	at com.mendix.core.action.user.Retriever$class.retrieveFromDatabase(Retriever.scala:32)
Oct 13 11:45:21.758 127.0.0.1 tr10000: ERROR - ActionManager: (56/111) 	at com.mendix.core.action.user.RetrieveIdAction.retrieveFromDatabase(RetrieveIdAction.scala:9)
Oct 13 11:45:21.758 127.0.0.1 tr10000: ERROR - ActionManager: (57/111) 	at com.mendix.core.action.user.RetrieveIdAction.retrieveFromDatabase(RetrieveIdAction.scala:32)
Oct 13 11:45:21.758 127.0.0.1 tr10000: ERROR - ActionManager: (58/111) 	at com.mendix.core.action.user.RetrieveIdAction.executeAction(RetrieveIdAction.scala:27)
Oct 13 11:45:21.760 127.0.0.1 tr10000: ERROR - ActionManager: (59/111) 	at com.mendix.core.action.user.RetrieveIdAction.executeAction(RetrieveIdAction.scala:9)
Oct 13 11:45:21.760 127.0.0.1 tr10000: ERROR - ActionManager: (60/111) 	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Oct 13 11:45:21.760 127.0.0.1 tr10000: ERROR - ActionManager: (61/111) 	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Oct 13 11:45:21.760 127.0.0.1 tr10000: ERROR - ActionManager: (62/111) 	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (63/111) 	at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (64/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (65/111) 	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (66/111) 	at com.mendix.core.component.InternalCore.retrieveId(InternalCore.java:921)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (67/111) 	at com.mendix.core.action.user.RetrieveByPathAction.retrieveFromSameSide(RetrieveByPathAction.scala:49)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (68/111) 	at com.mendix.core.action.user.RetrieveByPathAction.executeAction(RetrieveByPathAction.scala:41)
Oct 13 11:45:21.761 127.0.0.1 tr10000: ERROR - ActionManager: (69/111) 	at com.mendix.core.action.user.RetrieveByPathAction.executeAction(RetrieveByPathAction.scala:12)
Oct 13 11:45:21.762 127.0.0.1 tr10000: ERROR - ActionManager: (70/111) 	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Oct 13 11:45:21.762 127.0.0.1 tr10000: ERROR - ActionManager: (71/111) 	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Oct 13 11:45:21.762 127.0.0.1 tr10000: ERROR - ActionManager: (72/111) 	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Oct 13 11:45:21.762 127.0.0.1 tr10000: ERROR - ActionManager: (73/111) 	at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (74/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (75/111) 	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (76/111) 	at com.mendix.core.component.InternalCore.retrieveByPath(InternalCore.java:900)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (77/111) 	at com.mendix.modules.microflowengine.actions.mxobject.RetrieveFromCacheAction.execute(RetrieveAction.scala:38)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (78/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Oct 13 11:45:21.763 127.0.0.1 tr10000: ERROR - ActionManager: (79/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (80/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (81/111) 	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (82/111) 	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (83/111) 	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (84/111) 	at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (85/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Oct 13 11:45:21.764 127.0.0.1 tr10000: ERROR - ActionManager: (86/111) 	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (87/111) 	at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:459)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (88/111) 	at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (89/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (90/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (91/111) 	at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (92/111) 	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Oct 13 11:45:21.765 127.0.0.1 tr10000: ERROR - ActionManager: (93/111) 	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (94/111) 	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (95/111) 	at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (96/111) 	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (97/111) 	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (98/111) 	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146)
Oct 13 11:45:21.766 127.0.0.1 tr10000: ERROR - ActionManager: (99/111) 	at scala.util.Try$.apply(Try.scala:192)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (100/111) 	at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (101/111) 	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (102/111) 	at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (103/111) 	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (104/111) 	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
Oct 13 11:45:21.767 127.0.0.1 tr10000: ERROR - ActionManager: (105/111) 	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (106/111) 	at akka.dispatch.Mailbox.run(Mailbox.scala:220)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (107/111) 	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (108/111) 	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (109/111) 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (110/111) 	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
Oct 13 11:45:21.768 127.0.0.1 tr10000: ERROR - ActionManager: (111/111) 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 

Packaging Mendix Modeler for Intune / Deployment fails with listed command line arguments

$
0
0

Dear Mendix,

I'm having a hard time packaging the new Mendix Modeler 7 for our company. Planning to distribute the software via Microsoft Intune, the installation gets stuck, both with listed parameters such as /exenoui and common parameters such as /quiet or /silent.

Can you provide a tutorial for software packaging?

Cheers

XML generation: Use of CDATA versus escaping XML chars

$
0
0

We are consuming a web service. The operation we are using has a field that is defined as a String in the WSDL, and should contain a blob of XML.

To fill this field we generate XML using a domain-to-XML mapping. We then use the resulting String as one of the parameters when calling the webservice.

Mendix will escape the XML chars in this case, by using > and < . The system we're integrating with however only supports escaping by using the CDATA tag.

Is there a way we can have Mendix use CDATA?

We tried all four settings for feeding parameters to the request body. What's interesting, is that when we use the Custom request body type to create a body with CDATA tags, Mendix will replace this with an escaped XML string. So for instance:

<parameter>bar</foo>]]></parameter>

will be changed to:

<parameter><foo>bar</foo></parameter>

This behaviour makes me suspicious that Mendix does some processing on an XML request before it is sent over the line, to just replace any CDATA constructs with escaped XML.

So to conclude, our question is this: How can we force Mendix to use the CDATA tag?

How are relations between entities stored?

$
0
0

I'm pretty new to the whole Mendix Scene.

 

I was working on my domain model and was wondering how these associations are stored as there are no foreign keys.

The projects database is stored in a mySQL Database and the table Database$Product_Company shows nothing.

 

Any ideas?

 

Thanks in advance


My project is already opened in another instance, then crashes. HELP!

$
0
0

Hello everybody,

I have a problem with my modeler. When I open the project I get the message that my modeler is already open in another instance and have the option to open the project anyway. When I do this it says that the mendix modeler doesn't work anymore and I only have the option to close the program, or it crashes. I have tried installing different versions of the Mendix Modeler and also deleting every single mendix file and starting from scratch, but I get the same error every thime. How can I fix this problem?

Editable data grid columns bypass entity access rules XPath constraint

$
0
0

Hi All,

I have an entity with XPath constraint that handles the read/write access. So all works perfectly fine on a data view or list view and I can read / write the attributes as expected. The issue is on a data grid, I have 6-7 columns on the grid that are set to be editable and I expected that entity access will handle everything and will not allow those columns to be editable if I only have read access based on my XPath constraint but unfortunately the columns are still editable. I can enter a different value and the grid is refreshed in client side but the application is unresponsive until I refresh my browser. In the console I get errors which I can understand why (rollback of chages due to secutiry reasons), please see the error below.

I have to keep those columns on the grid editable and I thought of creating multiple grids on same page and make required columns editable on a grid based on selection and add visibility on those grids but this work-around doesn't look a good solution to me. Does anyone had this similar requirement and if yes how did you handled it? If no then please can you suggest what will be the best solution to this? Is it possible to handle this at all or is this a data grid bug as it does not listen to entity access rules XPath constraint?  

com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Attribute=0}","type":"ChangeAction"}', all database changes executed by this action were rolled back
	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:176)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Attribute=0}","type":"ChangeAction"}', all database changes executed by this action were rolled back
	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:40)

Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"{Attribute=0}","type":"ChangeAction"}', all database changes executed by this action were rolled back
	at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Changing member 'Attribute' of 'Test.Entity' by user mohammed failed for security reasons: Write access denied for member 'Attribute' of object 'Test.Entity'
	at com.mendix.core.action.user.Changer$class.changeMember(Changer.scala:41)

Caused by: com.mendix.core.objectmanagement.SecurityRuntimeException: Write access denied for member 'Attribute' of object 'Test.Entity'
	at com.mendix.core.objectmanagement.MendixObjectMemberImpl.checkWriteAccess(MendixObjectMemberImpl.java:146)
	at com.mendix.core.objectmanagement.MendixObjectMemberImpl.setValue(MendixObjectMemberImpl.java:219)
	at com.mendix.core.objectmanagement.member.internal.MendixDecimalImpl.setValue(MendixDecimalImpl.scala:21)
	at com.mendix.core.objectmanagement.member.internal.MendixDecimalImpl.setValue(MendixDecimalImpl.scala:10)
	at com.mendix.core.objectmanagement.MendixObjectMemberImpl.parseValueFromString(MendixObjectMemberImpl.java:244)
	at com.mendix.core.action.user.Changer$class.setMemberValue(Changer.scala:59)
	at com.mendix.core.action.user.Changer$class.changeMember(Changer.scala:29)
	at com.mendix.core.action.user.ChangeAction.changeMember(ChangeAction.scala:10)
	at com.mendix.core.action.user.ChangeAction$$anonfun$executeAction$1.apply(ChangeAction.scala:32)
	at com.mendix.core.action.user.ChangeAction$$anonfun$executeAction$1.apply(ChangeAction.scala:31)
	at scala.collection.Iterator$class.foreach(Iterator.scala:742)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
	at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
	at com.mendix.core.action.user.ChangeAction.executeAction(ChangeAction.scala:31)
	at com.mendix.core.action.user.ChangeAction.executeAction(ChangeAction.scala:10)
	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
	at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168)
	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:172)
	at com.mendix.core.component.InternalCore.change(InternalCore.java:123)
	at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1$$anonfun$3.apply(ChangesHandling.scala:28)
	at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1$$anonfun$3.apply(ChangesHandling.scala:21)
	at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)
	at scala.collection.immutable.Map$Map1.foreach(Map.scala:116)
	at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)
	at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1.apply(ChangesHandling.scala:21)
	at com.mendix.webui.requesthandling.ChangesHandling$$anonfun$validateChanges$1.apply(ChangesHandling.scala:17)
	at scala.Option.map(Option.scala:146)
	at com.mendix.webui.requesthandling.ChangesHandling$.validateChanges(ChangesHandling.scala:17)
	at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:306)
	at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:301)
	at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:301)
	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:143)
	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:145)
	at scala.util.Try$.apply(Try.scala:192)
	at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:139)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
	at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:135)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
	at akka.dispatch.Mailbox.run(Mailbox.scala:220)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

 

Thank you,

Mohammed Siddiqui

Forgot Password Module and other deeplinks

$
0
0

Hi, my application requires login. I  have Deeplinks working successfully. If user is already logged in link opens. If user is not logged in they are prompted to do so, then taken to the link.  For Guest nav, I direct them to a Login Page. Once logged in the deeplink is executed successfully. I am using AnonymousLogin_CopyDeepLinkInfo as the sign-in microflow for Anonymouse users. All this is working fine.

I'm trying to add the Forgot Password Module, but it seems to be interfering with my other deeplinks as described above.

If I change the Guest nav to NAV_GuestHomePage, Forgot Password works fine, but for my other deeplinks, the Guest user is never prompted to login so the deeplink tries to execute and open the form and fails because it doesn't have access. And, of course if I retain the Guest nav as the Login page, my other deeplinks work, but then the New Password field is not presented for the Forgot Password links.

How can I get both of these to work together?

How can I implement Lucene search in my app?

$
0
0

I'm trying to understand how to implement Lucene Search I downloaded through the App Store but the documentation's explanation is beyond my skill level. I have a basic understanding of how Mendix works and made a small app that does some basic things. I've completed the basic training to a certain extent.

What I'm trying to achieve is a search box that can search through the names (and description) of two or three different entities. Below is my domain model. I'm trying to search through Servicepakket and Dienstenpakket's name and description.

 

not able to see variables

$
0
0

Hi, 

 

I am not able to see the variables while debugging. At the end event of a microflow I added a breakpoint. As I run the app I hit the breakpoint after some variables have been created. 

 

When I return to the modeler I am not able to see the available variables. When I click "View" from the menu --> "Debug Windows" --> "Variables" nothing happens. Nothing happens either when I click "Debugger". This happens for me in Modeler 7.0.2, as well as in Modeler 6.10.4. 

 

+ they were not shown by default along with the console, Errors, Changes,... but resolved as added in comment.

 

What am I missing? 

 

Thijs

Test a calculation

$
0
0

Hello All, Our app calculates a quote based on values a user fills in on our form. We want to calculate if the displayed quote is correct. Does ATS have actions that can perform mathematics?

Whitelabel phonegap app components.json

$
0
0

Hi all,

 

We have a whitelabel app where we can lead different stylesheets per label (based on the URL) on desktop. Using a switch statement the app reads the URL and load the correct stylesheets. For the responsive app this works fine. But we also offer a Phonegap app, using the components.json. This file is hard coded and "statically" loads the stylesheets. Is there a way to dynamically load the correct stylesheets by configuring this in the config.xml / index.html of the phonegap build?

 

- Edit:

Since we have different phonegap builds per whitelabel, changing the components.json in the config.xml or index.html would be a solution as well. 


The required Mendix server version is not available. Please add the correct version.

$
0
0

After updating our existing (windows) service console 4.0.1 to version 4.5 and updating our Mendix app from 5.16.1 to 6.10.4 we get the following error in our Service Console:

The required Mendix server version is not available. Please add the correct version.
Required Mendix server version: 6.10.4.

 

Even though we did install the Mendix version. I already tried removing the service console and the server distribution but both do not solve my problem, did anyone else ever get this error?

Error: 'System.owner' is not a persistable association

$
0
0

Hi guys

 

We are experiencing strange behaviour when trying to import an excel template as MxAdmin (configurator in excel import module; pretty standard).

 

com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=29836347531329537 objectType=System.User entityID=106]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back
	at ExcelImporter.ValidateTemplate (RetrieveFromCache : 'Get the language from the user')
	at ExcelImporter.IVK_SaveTemplate (SubMicroflow : 'Validate the template')

Advanced stacktrace:
	at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143)

Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=29836347531329537 objectType=System.User entityID=106]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back
	at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:176)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=29836347531329537 objectType=System.User entityID=106]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back
	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:40)

Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=29836347531329537 objectType=System.User entityID=106]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back
	at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303)

Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s):
	IdentifierGetRequest:  Object types: [System.User]
	at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:53)

Caused by: com.mendix.core.CoreRuntimeException: 'System.owner' is not a persistable association
	at com.mendix.connectionbus.DomainModelUtil$.getMetaAssociationOnChild(DomainModelUtil.scala:35)
	at com.mendix.connectionbus.DomainModelUtil.getMetaAssociationOnChild(DomainModelUtil.scala)
	at com.mendix.connectionbus.retrieve.ResultCreator.getMetaObjectAccessesWithoutConstraints(ResultCreator.java:513)
	at com.mendix.connectionbus.retrieve.ResultCreator.setSecurityOnDataRows(ResultCreator.java:419)
	at com.mendix.connectionbus.retrieve.ResultCreator.getResult(ResultCreator.java:77)
	at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:82)
	at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:64)
	at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:41)
	at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:459)
	at com.mendix.core.action.user.Retriever$class.retrieveFromDatabase(Retriever.scala:32)
	at com.mendix.core.action.user.RetrieveIdAction.retrieveFromDatabase(RetrieveIdAction.scala:9)
	at com.mendix.core.action.user.RetrieveIdAction.retrieveFromDatabase(RetrieveIdAction.scala:32)
	at com.mendix.core.action.user.RetrieveIdAction.executeAction(RetrieveIdAction.scala:27)
	at com.mendix.core.action.user.RetrieveIdAction.executeAction(RetrieveIdAction.scala:9)
	at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
	at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
	at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
	at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14)
	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144)
	at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
	at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146)
	at scala.util.Try$.apply(Try.scala:192)
	at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
	at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
	at akka.dispatch.Mailbox.run(Mailbox.scala:220)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)


Actually there were no remarkable security changes and the excel importer as latests updated version did his job very well. But we did include an excel export template manager module, after this the app worked also well. So when checking the last 10 commits I don't see any remarkable changes but the template manager and some object right changes (without any generalizations)...

Based on previous posts I checked whether there were some system.mebers with Non persistent entities in their generalization...but I could not find it.

 

So I am wondering whether one of you experienced similar behaviour with excel or outside the excel functionalities?

 

edit 1: replacing excel importer did not fix the issue

 

edit 2: when making a new admin user with a language setting, it works...So this is pretty strange to me...it feels like that Mendix "under water" mess with the access rights of the MxAdmin?

Retrieve more than 20 revisions

$
0
0

Hi everyone, 

We are using Team Server API to retrieve revisions. However, in the output, there are 20 latest resivisions.

So we are wondering if there is any way to retrieve the next 20 revisions?

 

Best regards,

DUNS number for multiple IOS developer accounts

$
0
0

Situation;

We’ve a developer account for the holding company which is enrolled and allowed to publish apps in the IOS Appstore. This is a holding company and exist of more than 20 different labels. We would like to publish specific apps for these different labels, but the app name AND the name of the app publisher should be the name of the applicable label. We can create specific developer accounts for each formula, but we prefer to not start the DUNS request procedure for each account again.

Question:

Can we somehow create new developer accounts for each labels and use the DUNS number from the holding company to authorize these accounts? Or, is there another way to publish these apps with using the label name as app publisher?

MxAdmin session gets removed while th MF is still running

$
0
0

Hi guys,

I have a heavy mf initiated as MxAdmin doing import stuff.

And I normally in an infinitie loop Mx throws the user out...but in this case it isnt desired.

Is there a way to disable this ? As long as the MF is running i'd like to show the page with the loader icon on it.

 

 

 

Viewing all 83469 articles
Browse latest View live