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

Changing cache TTL when running in the MendixCloud

$
0
0

Is it possible to configure the local cache TTL when running within the MendixCloud? Currently is set to a year if my math is correct.

The driving force behind this is that as I continue to develop my application, I will inevitably add a new widget, which a frequent user's local cache will not have, thus giving the "no connector" message. I know I can't avoid this entirely, but reducing the cache time to something more reasonable would be hugely beneficial.


I have a text area and need to display below it "Entered xx chars of max 500". Can you please give a javascript for this that I can use in javascript snippet. Not jquery. Plain javascript only.

$
0
0

I have a text area and need to display below it "Entered xx chars of max 500". Can you please give a javascript for this that I can use in javascript snippet. Not jquery. Plain javascript only.

PS: Jquery is not working and the mendix's counter message in text area is also not working. Mx ver 6.10.2

How to delete project

$
0
0

Hi, how can delete created project.

Entity id 'XX' has no corresponding meta object name

$
0
0

 

Hi Team,

 

I am getting below error whenever i try to exceute some activity.

Could anyone please explain what could cause this error?

Is it missing the association for that entity?

 

Stacktrace :

 

2017-03-31 10:30:48.329 ERROR - ActionManager: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: The provided entity id '67' has no corresponding meta object name
        at CFT.AutoSalesforceFileRead (RetrieveByXPath : 'Retrieve InterfaceDefinition from database')
        at CFT.ImportSalesforceFiles (SubMicroflow : 'AutoSalesforceFileRead')

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: The provided entity id '67' has no corresponding meta object name
        at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: The provided entity id '67' has no corresponding meta object name
        at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)

Caused by: com.mendix.core.CoreRuntimeException: The provided entity id '67' has no corresponding meta object name
        at com.mendix.core.objectmanagement.SchemeManagerImpl.getObjectType(SchemeManagerImpl.java:1435)
        at com.mendix.core.objectmanagement.MendixIdentifier.getObjectType(MendixIdentifier.java:94)
        at com.mendix.core.objectmanagement.MendixObjectImpl.setId(MendixObjectImpl.java:317)
        at com.mendix.core.objectmanagement.SchemeManagerImpl.getInstance(SchemeManagerImpl.java:936)
        at com.mendix.core.action.user.RetrieveXPathAction.executeAction(RetrieveXPathAction.java:53)
        at com.mendix.core.action.user.RetrieveXPathAction.executeAction(RetrieveXPathAction.java:17)
        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:32)
        at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
        at com.mendix.core.component.InternalCore.retrieveXPathQuery(InternalCore.java:1151)
        at com.mendix.core.component.InternalCore.retrieveXPathQuery(InternalCore.java:1117)
        at com.mendix.modules.microflowengine.actions.mxobject.RetrieveByXPathAction.execute(RetrieveAction.scala:76)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
        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:32)
        at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
        at com.mendix.core.component.InternalCore.executeSync(InternalCore.java:465)
        at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:43)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192)
        at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149)
        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:32)
        at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174)
        at com.mendix.core.component.InternalCore.execute(InternalCore.java:383)
        at com.mendix.core.actionmanagement.UserScheduledAction.executeScheduledAction(ScheduledAction.scala:65)
        at com.mendix.core.actionmanagement.ScheduledAction$ScheduledRun$$anonfun$run$1.apply(ScheduledAction.scala:127)
        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:32)
        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)
 

Data snapshot on Cloudfoundry (Bluemix)

$
0
0

Hi all, 

We are currently experimenting with CloudFoundry on IBM Bluemix and running into trouble getting the data snapshot to work. 

According to the documentation of the build pack https://github.com/mendix/cf-mendix-buildpack#configuring-custom-runtime-settings, it should be possible to use the data snapshot included with the MDA with setting environment variable USE_DATA_SNAPSHOT to "true".

When I run the ​app however, the DB is completely empty (when running local data is available).

Storage and DB services are connected to the app.

Anyone who knows how I might get this to work?

how to solve sun.security.provider.certpath.SunCertPathBuilderException error?

$
0
0

I have locally stored the KPN website certificate in the 6.10.3 modeler project settings under the certificates tab to let me made a connection without an error.

After a deploy in the cloud, the following error is given: sun.security.provider.certpath.SunCertPathBuilderException unable to find valid certification path to requested target.

 

How can I solve the problem in the cloud?

Failed to serve POST

$
0
0

Hi All,

We're having an unexpected rollback problem. When an API call is made to our system it looks like the entire microflow runs but for some reason the data is rolled back after the microflow finishes. I've posted the stack trace below. The API call receives claim data and posts it to our system. Any information would help. Thanks!

Mar 23 13:55:09.924 - ERROR - RestPublish: Failed to serve POST Claim_Submit: Exception occurred in action '{}', all database changes executed by this action were rolled back
Mar 23 13:55:09.924 - ERROR - RestPublish: (1/107) com.mendix.core.CoreRuntimeException: Exception occurred in action '{}', all database changes executed by this action were rolled back
Mar 23 13:55:09.924 - ERROR - RestPublish: (2/107) #011at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303)
Mar 23 13:55:09.925 - ERROR - RestPublish: (3/107)
Mar 23 13:55:09.925 - ERROR - RestPublish: (4/107) Caused by: java.lang.RuntimeException: org.eclipse.jetty.io.EofException
Mar 23 13:55:09.925 - ERROR - RestPublish: (5/107) #011at restservices.util.DataWriter.write(DataWriter.java:256)
Mar 23 13:55:09.925 - ERROR - RestPublish: (6/107) #011at restservices.util.DataWriter.writeJSONObject(DataWriter.java:183)
Mar 23 13:55:09.925 - ERROR - RestPublish: (7/107) #011at restservices.util.DataWriter.value(DataWriter.java:123)
Mar 23 13:55:09.925 - ERROR - RestPublish: (8/107) #011at restservices.publish.MicroflowService.writeOutputData(MicroflowService.java:222)
Mar 23 13:55:09.925 - ERROR - RestPublish: (9/107) #011at restservices.publish.MicroflowService.execute(MicroflowService.java:189)
Mar 23 13:55:09.925 - ERROR - RestPublish: (10/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:226)
Mar 23 13:55:09.925 - ERROR - RestPublish: (11/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:222)
Mar 23 13:55:09.925 - ERROR - RestPublish: (12/107) #011at restservices.util.Utils$1.executeAction(Utils.java:209)
Mar 23 13:55:09.926 - ERROR - RestPublish: (13/107) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 23 13:55:09.926 - ERROR - RestPublish: (14/107) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 23 13:55:09.926 - ERROR - RestPublish: (15/107) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 23 13:55:09.926 - ERROR - RestPublish: (16/107) #011at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14)
Mar 23 13:55:09.926 - ERROR - RestPublish: (17/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:145)
Mar 23 13:55:09.926 - ERROR - RestPublish: (18/107) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Mar 23 13:55:09.926 - ERROR - RestPublish: (19/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:147)
Mar 23 13:55:09.926 - ERROR - RestPublish: (20/107) #011at scala.util.Try$.apply(Try.scala:191)
Mar 23 13:55:09.926 - ERROR - RestPublish: (21/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:141)
Mar 23 13:55:09.926 - ERROR - RestPublish: (22/107) #011at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
Mar 23 13:55:09.927 - ERROR - RestPublish: (23/107) #011at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:137)
Mar 23 13:55:09.927 - ERROR - RestPublish: (24/107) #011at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
Mar 23 13:55:09.927 - ERROR - RestPublish: (25/107) #011at akka.actor.ActorCell.invoke(ActorCell.scala:487)
Mar 23 13:55:09.927 - ERROR - RestPublish: (26/107) #011at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
Mar 23 13:55:09.927 - ERROR - RestPublish: (27/107) #011at akka.dispatch.Mailbox.run(Mailbox.scala:220)
Mar 23 13:55:09.927 - ERROR - RestPublish: (28/107) #011at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
Mar 23 13:55:09.927 - ERROR - RestPublish: (29/107) #011at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
Mar 23 13:55:09.927 - ERROR - RestPublish: (30/107) #011at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
Mar 23 13:55:09.927 - ERROR - RestPublish: (31/107) #011at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
Mar 23 13:55:09.928 - ERROR - RestPublish: (32/107) #011at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Mar 23 13:55:09.928 - ERROR - RestPublish: (33/107)
Mar 23 13:55:09.928 - ERROR - RestPublish: (34/107) Caused by: org.eclipse.jetty.io.EofException: null
Mar 23 13:55:09.928 - ERROR - RestPublish: (35/107) #011at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:914)
Mar 23 13:55:09.930 - ERROR - RestPublish: (36/107) #011at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:523)
Mar 23 13:55:09.931 - ERROR - RestPublish: (37/107) #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:170)
Mar 23 13:55:09.931 - ERROR - RestPublish: (38/107) #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:117)
Mar 23 13:55:09.931 - ERROR - RestPublish: (39/107) #011at restservices.util.DataWriter.write(DataWriter.java:254)
Mar 23 13:55:09.931 - ERROR - RestPublish: (40/107) #011at restservices.util.DataWriter.writeJSONObject(DataWriter.java:183)
Mar 23 13:55:09.931 - ERROR - RestPublish: (41/107) #011at restservices.util.DataWriter.value(DataWriter.java:123)
Mar 23 13:55:09.931 - ERROR - RestPublish: (42/107) #011at restservices.publish.MicroflowService.writeOutputData(MicroflowService.java:222)
Mar 23 13:55:09.931 - ERROR - RestPublish: (43/107) #011at restservices.publish.MicroflowService.execute(MicroflowService.java:189)
Mar 23 13:55:09.931 - ERROR - RestPublish: (44/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:226)
Mar 23 13:55:09.931 - ERROR - RestPublish: (45/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:222)
Mar 23 13:55:09.931 - ERROR - RestPublish: (46/107) #011at restservices.util.Utils$1.executeAction(Utils.java:209)
Mar 23 13:55:09.932 - ERROR - RestPublish: (47/107) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 23 13:55:09.932 - ERROR - RestPublish: (48/107) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 23 13:55:09.932 - ERROR - RestPublish: (49/107) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 23 13:55:09.932 - ERROR - RestPublish: (50/107) #011at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14)
Mar 23 13:55:09.932 - ERROR - RestPublish: (51/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:145)
Mar 23 13:55:09.932 - ERROR - RestPublish: (52/107) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Mar 23 13:55:09.932 - ERROR - RestPublish: (53/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:147)
Mar 23 13:55:09.932 - ERROR - RestPublish: (54/107) #011at scala.util.Try$.apply(Try.scala:191)
Mar 23 13:55:09.932 - ERROR - RestPublish: (55/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:141)
Mar 23 13:55:09.933 - ERROR - RestPublish: (56/107) #011at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
Mar 23 13:55:09.933 - ERROR - RestPublish: (57/107) #011at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:137)
Mar 23 13:55:09.933 - ERROR - RestPublish: (58/107) #011at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
Mar 23 13:55:09.933 - ERROR - RestPublish: (59/107) #011at akka.actor.ActorCell.invoke(ActorCell.scala:487)
Mar 23 13:55:09.933 - ERROR - RestPublish: (60/107) #011at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
Mar 23 13:55:09.933 - ERROR - RestPublish: (61/107) #011at akka.dispatch.Mailbox.run(Mailbox.scala:220)
Mar 23 13:55:09.933 - ERROR - RestPublish: (62/107) #011at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
Mar 23 13:55:09.933 - ERROR - RestPublish: (63/107) #011at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
Mar 23 13:55:09.933 - ERROR - RestPublish: (64/107) #011at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
Mar 23 13:55:09.933 - ERROR - RestPublish: (65/107) #011at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
Mar 23 13:55:09.933 - ERROR - RestPublish: (66/107) #011at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Mar 23 13:55:09.934 - ERROR - RestPublish: (67/107)
Mar 23 13:55:09.934 - ERROR - RestPublish: (68/107) Caused by: java.io.IOException: Broken pipe
Mar 23 13:55:09.934 - ERROR - RestPublish: (69/107) #011at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
Mar 23 13:55:09.934 - ERROR - RestPublish: (70/107) #011at sun.nio.ch.SocketDispatcher.write(Unknown Source)
Mar 23 13:55:09.934 - ERROR - RestPublish: (71/107) #011at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
Mar 23 13:55:09.934 - ERROR - RestPublish: (72/107) #011at sun.nio.ch.IOUtil.write(Unknown Source)
Mar 23 13:55:09.934 - ERROR - RestPublish: (73/107) #011at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
Mar 23 13:55:09.934 - ERROR - RestPublish: (74/107) #011at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
Mar 23 13:55:09.934 - ERROR - RestPublish: (75/107) #011at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:362)
Mar 23 13:55:09.935 - ERROR - RestPublish: (76/107) #011at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:850)
Mar 23 13:55:09.935 - ERROR - RestPublish: (77/107) #011at org.eclipse.jetty.http.AbstractGenerator.blockForOutput(AbstractGenerator.java:523)
Mar 23 13:55:09.935 - ERROR - RestPublish: (78/107) #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:170)
Mar 23 13:55:09.935 - ERROR - RestPublish: (79/107) #011at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:117)
Mar 23 13:55:09.935 - ERROR - RestPublish: (80/107) #011at restservices.util.DataWriter.write(DataWriter.java:254)
Mar 23 13:55:09.935 - ERROR - RestPublish: (81/107) #011at restservices.util.DataWriter.writeJSONObject(DataWriter.java:183)
Mar 23 13:55:09.935 - ERROR - RestPublish: (82/107) #011at restservices.util.DataWriter.value(DataWriter.java:123)
Mar 23 13:55:09.935 - ERROR - RestPublish: (83/107) #011at restservices.publish.MicroflowService.writeOutputData(MicroflowService.java:222)
Mar 23 13:55:09.935 - ERROR - RestPublish: (84/107) #011at restservices.publish.MicroflowService.execute(MicroflowService.java:189)
Mar 23 13:55:09.935 - ERROR - RestPublish: (85/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:226)
Mar 23 13:55:09.936 - ERROR - RestPublish: (86/107) #011at restservices.publish.RestServiceHandler$3.apply(RestServiceHandler.java:222)
Mar 23 13:55:09.936 - ERROR - RestPublish: (87/107) #011at restservices.util.Utils$1.executeAction(Utils.java:209)
Mar 23 13:55:09.936 - ERROR - RestPublish: (88/107) #011at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49)
Mar 23 13:55:09.936 - ERROR - RestPublish: (89/107) #011at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260)
Mar 23 13:55:09.936 - ERROR - RestPublish: (90/107) #011at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248)
Mar 23 13:55:09.936 - ERROR - RestPublish: (91/107) #011at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14)
Mar 23 13:55:09.936 - ERROR - RestPublish: (92/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:145)
Mar 23 13:55:09.936 - ERROR - RestPublish: (93/107) #011at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
Mar 23 13:55:09.936 - ERROR - RestPublish: (94/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:147)
Mar 23 13:55:09.936 - ERROR - RestPublish: (95/107) #011at scala.util.Try$.apply(Try.scala:191)
Mar 23 13:55:09.937 - ERROR - RestPublish: (96/107) #011at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:141)
Mar 23 13:55:09.937 - ERROR - RestPublish: (97/107) #011at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
Mar 23 13:55:09.937 - ERROR - RestPublish: (98/107) #011at com.mendix.cor
Add Comment

 

Custom CSS overridden by theme

$
0
0

I've been trying to edit the CSS by using the one I made for another app but I couldn't figure out where to place it for it to get used. I've added the code to Mendix\PROJECT\theme\styles\css\custom in custom.css but that keeps getting overridden by the theme.

 

So now I'm editing the same file inside the theme.zip file I downloaded but that seems like a very roundabout way of doing it.  I've tried following the video on the Mendix Youtube page: https://www.youtube.com/watch?v=7m7L7cUXgOQ and https://docs.mendix.com/howto6/setup-mendix-ui-framework-with-just-css but the video is outdated and the docs page points me to the file that changes nothing. Should I rather follow this guide: https://docs.mendix.com/howto50/setup-mendix-ui-framework

 

Where am I going wrong?


Need solution for a data view selecter

$
0
0

Hi there!

 

I'm currently working on a data grid view. I need a button that can show a data grid of the association data grid just like the edit button.

The edit button can only be used in a form format, is there a way to change this?

 

Example:

(Data grid)

[Customer 1] [action]

[Customer 2] [action]

 

The action button need to open an other view if you clicked on the action button next to customer 1 for example:

 

(Data grid)

[Customer 1]

[Order 1]

[Order 2]

 

 

 

 

Page slowness due to large amounts of entities and dataviews

$
0
0

             I am running into some slowness on some of my detail pages, due to the number of retrieves that are configured in the page. Currently I have group boxes for each type of product, a location could have (possible 8)? Each product is in separate entities.  

Is there a way to only run the retrieve if the group box is opened?

 

Another example is, I don’t what a data view to try to retrieve from the database, if the visibility is set to false.

Can this be done?

Direct Debit/Recurring payment Processing

$
0
0

Has anyone had experience with integrating Mendix into a Direct Debit recurring payment processor in the UK. We are looking at two solutions currently SmartDebit (http://www.smartdebit.co.uk/) and GoCardless (https://gocardless.com/). Both of these seem to have API's which can be used to build a connector using Rest or SOAP services. However I haven't been able to find anyone or anything on the appstore that is similar.

Regards Simon

converting enum to string or String to enum

$
0
0

hi How can i convert an enum to string or String to enum in the xpath contraint

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?

Edit: Today i redid the production deployment and was able to bypass this issue by updating my existing app. Then i added a the app as a new app, which i did not configure except for selecting the .mpr file. After i installed the app, suddenly the updated app could find the newer version of the Mx runtime. At first i thought that perhaps the symlinks were not updated correctly, but this was not the case.

Going from a Reference Select model -> add page -> Select page. Possible?

$
0
0

I have a reference set selector where I'd like to open the list for select. On this page, there is a button to "Add a new Carrier" to the select list. Clicking on this opens Carrier New form, they add the carrier, save, and then return to the Select page.

Is this possible? I can get the Add page from the original Select and I can get back to the Select page; howeer, I have then lost the context between the original caller of the select and the select page itself. As a result, selecting does nothing.

How can I help users do on-the-fly adds of new values when using a reference set selector?

Runtime API with S3 configured as storage service

$
0
0

To expose images over a public url we have created a JA with a custom request handler. In this request handler we an entity based on the path in the URL. Once the entity is retreived we use the Core method getImage() to get the contents of the image.

Following a simplyfied version of the code (This example does not work and is only for demo purpose...):

@Override
  protected void processRequest(IMxRuntimeRequest req, IMxRuntimeResponse resp, String requestPath)
      throws Exception {

    HttpServletResponse response = resp.getHttpServletResponse();

    IMendixObject entity = Core.retrieveXPathQueryEscaped(context, "//%s[%s='%s']", handler.getEntity(), "Name", params.get("Name"));

    InputStream inputStream = Core.getImage(context, iMendixObject, false);

    IOUtils.copy(inputStream, response.getOutputStream());
}

With the default filestorage service this works fine. Only with `com.mendix.core.StorageService` configured as `com.mendix.storage.s3` we get the following error:

Failed to serve GET books: com.mendix.systemwideinterfaces.MendixRuntimeException: com.amazonaws.services.s3.model.AmazonS3Exception: The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 0902549049DC04A4), S3 Extended Request ID: TP8V/SBl3/i2yPfQyubjeBNDj7t/QvCug/GZShAPu27LLS9cTMi83IZHykqZvjng/AoTrIhqM9I=

This while the file does exist on S3.

If anyone knows how to work around this issue that would be great.


Who has experience with mobile touch sliding over Mx pages?

$
0
0

Hi guys

 

For our app we want a simple explanation of some steps. Each step is another page.

I want that the user could slide from one page to another page.

I found an appstore module mobile sliding, but it is a little outdated I think.. seen I am not able to download it for 6.10.

Anyone an idea how to reach the above? Any widget, css code are welcome too!

Does the Functionality of Standard Cancel button will change with the version of mendix modeler??

$
0
0

Hi,

Previously, I developed my application in 6.3.1 version of mendix modeler. And I used standard Cancel button to cancel the pop-up or some screens. Recently, I updated my modeler version to 6.10.4 . Currntly I am working on this modeler. Now when I tried to cancel the screen, Error is occurring. "
java.lang.IllegalArgumentException: requirement failed: mxObject should not be null ". This is the error I have. Please let me know why I am facing this issue... and please suggest me if there is any alternative for this issue..

 

Thanks,

Venkat.

Environment settings in the Mendix Deployment API

$
0
0

According to the documentation of the Mendix Deployment API the way to get and set the environment settings is through getting/posting the entire list of environment settings available.

However the GET doesn't return the "Documentation" attribute of Constants and Scheduled Events, which is visible when looking at the environment settings at cloud.home.mendix.com. Is it possible to get this information using the deploy-api?

Also the suggested way of updating is by doing a POST in the same format. It feels a bit off to me to POST all variables at once and to include values such as "DataType" and "DeployedValue" in the call, as I shouldn't be able to change those. What does Mendix do if I omit these values, or if I give the wrong DataType/DeployedValue? Is this ignored or will this generate errors?

 

Experiences with migration from version 5.4.1 to 7.1.0

$
0
0

I need to migrate an application from 5.4.1 to 7.1.0. Does anyone have experience with a similar migration? What are best practices on these kind of heavier migrations? Is it a best practice to first move to 6 and then to 7?  etc etc..

 

Thanks in advance!

Webservice request - alphatic order

$
0
0

I an consuming a webservice from a third party. 

That webservice has a non documented "feature" that demands that the request should be in alphabetic order. For example:

This one is ok!

<OpportunityManagement>         <AmountRequested>275000</AmountRequested>         <Description>VCE Test - SOAPUI CALL</Description>         <EstCloseDate>2017-03-30T23:59:00</EstCloseDate><OpportunityManagement>

This one is wrong - i don't get a SOAP error... but the data from the description is empty in the other system

<OpportunityManagement><AmountRequested>275000</AmountRequested> <EstCloseDate>2017-03-30T23:59:00</EstCloseDate>         <Description>VCE Test - SOAPUI CALL</Description>       <OpportunityManagement>

 

I'm still debating to get a fix in the other system but i cannot wait any longer. Currently i'm using the default export mapping to create a request - because the request has a complex structure with several list.

Is there a simple fix in mendix where i can garantue that the request will be in alphabetic order?

Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>