Hi to all of you, I think, I got a logical problem again. I've got the following data model: Now on the "Home"page I want to put a reference selector of all of the Orgunits. By clicking on that Orgunit, it shall redirect the user to the Planning page where he sees a list of all Planning objects associated with the clicked orgunit. Now when I select a reference selector or a drop-down-widget, i cannot select the orgunit entity, which is already my problem: I've tried to change the "string" attribute of the organisational unit entitiy to an "enumeration" attribute which worked well, but these enumerations-attributes of course aren't connected to the master data which is associated with the "string"attribute of the organisational unit - entity. Does anyone has a clue how I can overcome this? I want to select the orgunit-attribute of type string within the reference selector. If this isn't possible, it would be good to know if there is a way to associate the enumeration attribute with the string attribute which is connected to the master data. Here is my Home page with my selected page parameters and the "Select entity"-window: Thank you already in advance! Laura
↧
In a reference selector or dropdown, I can't select the Attribute-path?
↧
How to edit a layout
Hello, I'm learning the Creating engaging UX path, at the 3.5 module. The tuto explain that we have to edit a layout to select it as a master layout, but i don't find the "edit option" of any layout. Where is this option ?
↧
↧
Association Error
I'm trying to import a excel document in the association using Excel template.Totally having 5 fields to import,2 fields from parent entity and another 3 fields from child entity.But Im getting the error like "The association is already defined but with a different object type, the given type is: Parent entity and the retrieved type is: child entity"
↧
Dropdown Issue?
Hi I have created an entity name country with the name as an attribute and added the value.How to populate this value in the dropdown ?I have tried but no luck.
↧
Authentication Widgets
Hi I have crteated a login page by using loginid ,password and sign in button using Authentication Widgets,how do I signup there is any widgets for that?
↧
↧
Error in log
With no clear reason this error. Would like to fix it. MultipleDefine Error: multipleDefine at l (http://localhost:8080/mxclientsystem/mxui/mxui.js?636605081792484179:1:426) at Xe (http://localhost:8080/mxclientsystem/mxui/mxui.js?636605081792484179:1:11422) at ot (http://localhost:8080/mxclientsystem/mxui/mxui.js?636605081792484179:1:13293) at https://home.mendix.com/mendixtoolbar/js/buttonservices.js?PP_6.20:27:31754 at https://home.mendix.com/mendixtoolbar/js/buttonservices.js?PP_6.20:25:208 at window.console.warn (https://home.mendix.com/mendixtoolbar/js/buttonservices.js?PP_6.20:25:213) at https://home.mendix.com/mendixtoolbar/js/buttonservices.js?PP_6.20:375:3
↧
Notification feature
Hey I have made an App for IT department of my school. But i need to add one feature that to get email like notifications after every 15 days to professor to complete the assessment. How can I add this requirement. Thanks
↧
Database Connector(s)
How the connector(s) manages the DB connections. Is there pool of connections and caching?
↧
Set value to entity
How to set an value to entity from Java Action.Java Action will return an object and i needs to store it in DB.Can anyone suggest good way to do it..
↧
↧
Retrieve data in Java with retrieveXPathSchema
For performance improvements I want to retrieve data with Xpaths retrieves based on a schema in Java and map the data to Non-Persistent entities. All associations aren't relevant only a couple of attributes, to improve the database retrieve. Using OQL would be the alternative, but the function is used by several userroles with different complex entity access. Therefor security is required and is the microflow which calling the is running with entity access on. In Mendix 5 and older you can use the IRetrievalSchema, but in Mendix 6 it's deprecated and in Mendix 7 it's removed. How can you achieve Xpath retrieves with schemas in Java with Mendix 7?
↧
African language translator (support)
I am just new to Mendix. Can any be help in developing an African language translator?
↧
How to retrieve device time in the page?
I have some logic which needs device time. Apparently the time that I get right now is the server time(I am not sure). What is the way to get the time of the device location?
↧
Parameters of selected micro flow does not match arguments
Hi, I'm 2 days new to Mendix so I need little help with one issue. I'm calling a micro flow from a page via an action button, and passing a parameter (Json object with ID that I would like to use in the REST call). So far so good, but I use the same micro service to return a list of objects and populate a grid in another page. Is that possible to do it this way or what do you recommend ? Because I don't know how to pass a parameter to a page, and use that parameter in the micro flow call from the grid. BR, Robert.
↧
↧
double click on a list view item throws
Hi guys I have a ListView with onClick "Call a Microflow". Whenever people double click any list item, the page throws an error: "An error has occurred that might have been caused by fast reload. Refresh the page to fix it." I find it to be very weird that List View onClick Microflow settings don't have the settings to show progress bar "blocking". Is there any way around that? Cheers Tom
↧
DataSource Microflow of DataView not triggered on refresh of Caller-of-the-Page
Hi all, Before I am going to file a support ticket to Mendix I wanted to check with the community if this is actually a bug: All the way down from Mendix 5.21.4 to Mendix 6 to Mendix 7.5.0 I checked that when the Caller-of-the-Page is refreshed and that page has two DataSource Microflows, one for populating a DataView and one for populating a DataGrid, only the DataSource Microflow for the DataGrid is being triggered. I would expect that both are being triggered. For us this is giving problems in a big app running in Mendix 5.21.4 This is a bug, right? EDIT [2018-04-30] Mendix is working on a fix, but it turns out to be a thorough problem also causing other issues. Has not been fixed yet. Ticket number: 57734
↧
Highlight Menu item of the current page in Java?
Hello everyone, I have a question about what Mendix will highlight when you visit a Mendix website. Now it has set a destination which it will show but the highlighted menu item is always the first. There is a JavanScriptOnLoad that selects the first item. Is there a easier way or better way to let Mendix highlight the current page?
↧
New Queue module in the app store
Hi fellow Mendix developers, Last months I took the time to build a lightweight Mendix Queue module from scratch. I used the existing Process Queue module very often in projects, but missed some features and the module shows unexpected behavior in some situations (for instance when deleting a queued job). In addition, I wanted to unit test (using JUnit and Mockito) logic with 100% coverage, which allows us to ensure proper functioning in future releases. Specific features are: Easy to implement Jobs can be scheduled using a pre-configured delay in a user-defined time unit Jobs are retried (not FIFO by default, they are re-added to the beginning of the queue) after an error with an increasing delay (using exponential backoff) Queued jobs can be removed from the queue (cancelled) Running jobs can be aborted Minimized database interactions (queue itself is not persistent and the microflow to execute is stored as a Job attribute) In case of an error, the error handling behavior specified in the microflow is applied (in contrast to the Process Queue). An error without rollback will result in the changes being committed, but the Job receiving the status Error Please let me know what you think and what features you miss! I will try to keep the queue lightweight. For instance, a Job audit trail is not implemented, but can be easily added by creating a specialization of the Job entity and implement events/associated entities.
↧
↧
React Native request error (native published REST services)
Hi there , We are currently trying to connect a React Native frontend to our Mendix backend. We are getting the following error:
Failed to load https://{host}/rest/v1/user/login: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 405. I am using native Mendix REST in 7.10 and I added the header:
Access-Control-Allow-Origin: * to all my responses. The endpoint works fine when testing it with Postman and Stoplight but the React requests do not work.... It seems that the HTTP method is OPTIONS instead of POST / PUT / GET / DELETE. Does anyone know how to solve this? Kind regards, Tim
↧
REST Calls getting timeout in MicroFlow with PrivilegedActionException
I created a MicroFlow which has an activity which makes a REST call an external server . When i run the application the REST call is getting timed out with "PrivilegedActionException" . The code was perfectly working last week and there was no change made . I confirmed that it is not problem with server by making same REST call using Postman which was successfull. This is the stack trace for the error. Any clues would be appreciated.
com.mendix.modules.microflowengine.MicroflowException: Error calling REST service
at MyFirstModule.MF_AskQueryToBot (CallRest : 'Call REST (POST)')
Advanced stacktrace:
at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:51)
Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: org.apache.http.conn.HttpHostConnectException: Connect to westus.api.cognitive.microsoft.com:443 [westus.api.cognitive.microsoft.com/40.112.254.71] failed: Connection timed out: connect
at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:15)
Caused by: java.security.PrivilegedActionException: null
at java.security.AccessController.doPrivileged(Native Method)
at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11)
at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18)
at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61)
at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)
at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:59)
at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:46)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)
at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)
at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)
at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191)
at com.mendix.basis.component.InternalCore.execute(InternalCore.java:594)
at com.mendix.webui.actions.client.ExecuteActionAction.execute(ExecuteActionAction.java:135)
at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:364)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)
at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:472)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:349)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:280)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:242)
at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104)
at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96)
at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)
at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858)
at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:561)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to westus.api.cognitive.microsoft.com:443 [westus.api.cognitive.microsoft.com/40.112.254.71] failed: Connection timed out: connect
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:18)
at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12)
at java.security.AccessController.doPrivileged(Native Method)
at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11)
at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18)
at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61)
at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)
at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:59)
at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:46)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)
at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)
at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)
at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191)
at com.mendix.basis.component.InternalCore.execute(InternalCore.java:594)
at com.mendix.webui.actions.client.ExecuteActionAction.execute(ExecuteActionAction.java:135)
at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:364)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)
at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:472)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:349)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:280)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:242)
at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104)
at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96)
at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)
at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858)
at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:561)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:244)
at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:125)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:319)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:18)
at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12)
at java.security.AccessController.doPrivileged(Native Method)
at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11)
at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18)
at com.mendix.integration.actions.microflow.RestCallAction.$anonfun$executeRequest$2(RestCallAction.scala:61)
at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)
at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:59)
at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:46)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)
at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)
at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)
at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)
at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)
at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191)
at com.mendix.basis.component.InternalCore.execute(InternalCore.java:594)
at com.mendix.webui.actions.client.ExecuteActionAction.execute(ExecuteActionAction.java:135)
at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:364)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)
at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)
at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:472)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:349)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:280)
at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:242)
at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104)
at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96)
at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71)
at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68)
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)
at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)
at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858)
at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:561)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
↧
What is the best practice of deleting helper objects after log out?
Hi guys i want to delete some data after the user has logged out, what is the best practice to do this? I was thinking on: 1 - retrieve data via unactive sessions and then delete in background 2 - or i can delete the account since it is cascading delete behaviour and no data is kept in the app and we use saml to authentica...seems radical but no side-effects to me 3...your idea?
↧