On my mobile app (screenshot included) there is a random white bar that appeared a couple of versions ago that only appears on iOS and we haven't been able to determine the cause. I am wondering if anyone else has seen this issue and know what causes it. The top portion of the screenshot with the company name and info has been cropped out and you can see the white bar at the bottom. It's actually present in another iOS application as well and again only affecting iOS users.
↧
Random white bar on login screen of mobile app
↧
"Sticky" Progress Bar not going away
In our app we're seeing instances where the Progress Bar (i.e. shaded bar w/ the dots) is sticking around after the initial application load. The page works fine behind it but the bar sits on top of the page. It's completely inconsistent and does not happen with any perceptible pattern. Has anyone seen this behavior? Our users are on Chrome.
↧
↧
Selected Page expects and object of type 'Registration' which is not available here.
Hi, I have created a new entity then created a new page and added a data view But it giving me error-Selected Page expects and object of type 'Registration' which is not available here.
↧
Registration Confirmation Link
Hi, How to send an email after registration page with a password and a link to login page.
↧
Email to multiple recepients
I have used the mendix email modules and am able to send email to single recepients using the default microflows. I would like to modify the microflows to send emails to a list of recepients. The recepient email addresses are all stored in the same entity and i need to send the same email to all email id's in the entity. Is there any reference link with the steps to do this?
↧
↧
sql integrity constraint violation
I am getting the following error when I try to start my app in the Modeler. It had been running fine so must be something I changed but I can't figure out what. Can anyone help me locate where/what the issue is? Thanks, Tracy Opening JDBC connection to None failed with SQLState: S1000 Error code: -25 Message: error in script file line: 22067 org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10785 table: "esat$taskline_request", giving up...(4/4) com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime at com.mendix.core.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:403) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.connectionbus.ConnectionBusRuntimeException: Error on initializing database connection. at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:40) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Error on initializing database connection. at com.mendix.connectionbus.ConnectionBusInitializer.throwDefault$1(ConnectionBusInitializer.scala:61) Caused by: java.sql.SQLException: error in script file line: 22067 org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10785 table: "esat$taskline_request" at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) at org.hsqldb.jdbc.JDBCConnection.(Unknown Source) at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.apache.commons.dbcp2.DataSourceConnectionFactory.createConnection(DataSourceConnectionFactory.java:44) at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:55) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:52) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.getConnection(ConnectionManager.java:52) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at scala.util.Try$.apply(Try.scala:192) at com.mendix.connectionbus.ConnectionBusInitializer.retry(ConnectionBusInitializer.scala:62) at com.mendix.connectionbus.ConnectionBusInitializer.com$mendix$connectionbus$ConnectionBusInitializer$$createConnection(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply$mcV$sp(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.util.Runner$.runWithClassLoader(Runner.scala:12) at com.mendix.connectionbus.util.Runner$.runWithOwnClassLoader(Runner.scala:4) at com.mendix.connectionbus.ConnectionBusInitializer.initialize(ConnectionBusInitializer.scala:44) at com.mendix.connectionbus.ConnectionBusImpl.initializeConnection(ConnectionBusImpl.java:275) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:379) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:376) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) at com.mendix.core.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:381) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:286) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:243) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:50) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:31) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:122) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: org.hsqldb.HsqlException: error in script file line: 22067 org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10785 table: "esat$taskline_request" at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.scriptio.ScriptReaderText.readExistingData(Unknown Source) at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source) at org.hsqldb.persist.Log.processScript(Unknown Source) at org.hsqldb.persist.Log.open(Unknown Source) at org.hsqldb.persist.Logger.open(Unknown Source) at org.hsqldb.Database.reopen(Unknown Source) at org.hsqldb.Database.open(Unknown Source) at org.hsqldb.DatabaseManager.getDatabase(Unknown Source) at org.hsqldb.DatabaseManager.newSession(Unknown Source) at org.hsqldb.jdbc.JDBCConnection.(Unknown Source) at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.apache.commons.dbcp2.DataSourceConnectionFactory.createConnection(DataSourceConnectionFactory.java:44) at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:55) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:52) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.getConnection(ConnectionManager.java:52) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at scala.util.Try$.apply(Try.scala:192) at com.mendix.connectionbus.ConnectionBusInitializer.retry(ConnectionBusInitializer.scala:62) at com.mendix.connectionbus.ConnectionBusInitializer.com$mendix$connectionbus$ConnectionBusInitializer$$createConnection(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply$mcV$sp(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.util.Runner$.runWithClassLoader(Runner.scala:12) at com.mendix.connectionbus.util.Runner$.runWithOwnClassLoader(Runner.scala:4) at com.mendix.connectionbus.ConnectionBusInitializer.initialize(ConnectionBusInitializer.scala:44) at com.mendix.connectionbus.ConnectionBusImpl.initializeConnection(ConnectionBusImpl.java:275) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:379) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:376) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) at com.mendix.core.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:381) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:286) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:243) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:50) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:31) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:122) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10785 table: "esat$taskline_request" at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.Constraint.getException(Unknown Source) at org.hsqldb.index.IndexAVLMemory.insert(Unknown Source) at org.hsqldb.persist.RowStoreAVL.indexRow(Unknown Source) at org.hsqldb.Table.insertData(Unknown Source) at org.hsqldb.Table.insertFromScript(Unknown Source) at org.hsqldb.scriptio.ScriptReaderText.readExistingData(Unknown Source) at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source) at org.hsqldb.persist.Log.processScript(Unknown Source) at org.hsqldb.persist.Log.open(Unknown Source) at org.hsqldb.persist.Logger.open(Unknown Source) at org.hsqldb.Database.reopen(Unknown Source) at org.hsqldb.Database.open(Unknown Source) at org.hsqldb.DatabaseManager.getDatabase(Unknown Source) at org.hsqldb.DatabaseManager.newSession(Unknown Source) at org.hsqldb.jdbc.JDBCConnection.(Unknown Source) at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source) at org.apache.commons.dbcp2.DataSourceConnectionFactory.createConnection(DataSourceConnectionFactory.java:44) at org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256) at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435) at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:55) at com.mendix.connectionbus.connections.jdbc.ConnectionManager$1.run(ConnectionManager.java:52) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.connectionbus.connections.jdbc.ConnectionManager.getConnection(ConnectionManager.java:52) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$com$mendix$connectionbus$ConnectionBusInitializer$$createConnection$1.apply(ConnectionBusInitializer.scala:55) at scala.util.Try$.apply(Try.scala:192) at com.mendix.connectionbus.ConnectionBusInitializer.retry(ConnectionBusInitializer.scala:62) at com.mendix.connectionbus.ConnectionBusInitializer.com$mendix$connectionbus$ConnectionBusInitializer$$createConnection(ConnectionBusInitializer.scala:55) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply$mcV$sp(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.ConnectionBusInitializer$$anonfun$initialize$1.apply(ConnectionBusInitializer.scala:45) at com.mendix.connectionbus.util.Runner$.runWithClassLoader(Runner.scala:12) at com.mendix.connectionbus.util.Runner$.runWithOwnClassLoader(Runner.scala:4) at com.mendix.connectionbus.ConnectionBusInitializer.initialize(ConnectionBusInitializer.scala:44) at com.mendix.connectionbus.ConnectionBusImpl.initializeConnection(ConnectionBusImpl.java:275) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:379) at com.mendix.core.impl.MxRuntimeImpl$2.execute(MxRuntimeImpl.java:376) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) at com.mendix.core.impl.MxRuntimeImpl.initializeConnectionBus(MxRuntimeImpl.java:381) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:286) at com.mendix.core.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:243) at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:50) at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:31) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:122) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)
↧
Database connector: Error while connecting oracle database
Hi, I'm trying to connect to an extenal database i.e. Oracle 11g using Database connetor. I have given the following jdbc url in execute query 'jdbc:oracle:thin://192.168.1.10:1521:XE' I'm getting the following error : ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
↧
Executing a stored procedure in DB connector returns -1?
Hi I am using the Db conenctor to execute a store procedure to a SQL server. When executing the same stuff on the server I see that the affected rows are 0, so i expect 0 when doing the same execution query from within Mendix app. But I receive -1 as result back. Looking into the Java code indicates; * Returns a string representation of this action */ @Override public java.lang.String toString() { return "ExecuteStatement"; }
* Returns a string representation of this action
*/
@Override
public java.lang.String toString()
{
return "ExecuteStatement";
}
So based on this I still do expect 0. Any one an idea why I receive -1 ? a - getting no coonection from data source ? tracing at the lognode does say that Mendix does get connection from data source for jdbx url en user b - it takes too long for Mendix to wait, so therefore he thinks he dont receive anything, and therefore nothing = -1? c- ...?
↧
$currentDeviceType showing as Type "System.DeviceType.Phone" even when running app in "Responsive Browser"
I upgraded to Mendix 7.13.1 today and after upgrade, even when I run the app in responsive browser, the $currentDeviceTypeis always shown as Phone. I am using Google Chrome browser.
↧
↧
Can not download a project created with web modeler
Hi all, I am having trouble downloading a project I created some time ago in the web modeler. Whenever I try to open the project either via edit app from the cloud portal or by opening a modeler and clicking open app I get the following error
System.NullReferenceException: Object reference not set to an instance of an object.
at Mendix.Modeler.ProjectHandling.Openers.OpenProjectForm.TryMatchWorkingCopyOnDisk() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\OpenProjectForm.cs:line 201
at Mendix.Modeler.ProjectHandling.Openers.OpenProjectForm.OnOKPressed() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\OpenProjectForm.cs:line 190
at Mendix.Modeler.UIFramework.UIFrameworkForm.CommitEditAndValidate() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Forms\UIFrameworkForm.cs:line 204
at Mendix.Modeler.UIFramework.UIFrameworkForm.Commit() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Forms\UIFrameworkForm.cs:line 222
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) I tried to check out the project via tortoise but there I get an access forbidden message. I am a scrum master of the project with the persmission to edit the project in the modeler. Any ideas?
↧
Download & Restore Database (Multiple issues/questions)
We have a requirement where we have to download and restore our database periodically for various reasons. I tried writing a bash script for the first part of this requirement, the downloading of the snapshot. I'm using the Mendix Deploy API and get a list of snapshots, thereafter getting the download links for the latest snapshot. This is where it gets weird though. When trying to download the backup using the URL, it starts and finishes almost instantaneously. It's as if only the first chunk of data is downloaded. When I try to rerun the command, I get a 404 Not Found error. I tried both curl and wget on both my Mac and a Linux server. Both exhibit the same behavior, and no matter which options I try running the command with, I don't seem to have any luck. Has anyone had this issue before, or know what my problem could be? Now onto the restore. I downloaded a full backup via the front end, and tried restoring it to a remote Postgres database running on AWS. My app uses Postgres 9.6, and I'm trying to restore it to a 9.6 database. I keep getting errors though. I've used pgAdmin with varied success in the past, but I want to do this via command line. I unarchive the .tar.gz file I got from the download, and use the db.backup file inside the db directory to restore. Using pg_restore seems to be my only option if I understand the Postgres documentation correctly. Below is the command I ran: pg_restore -c -C -h -U -p -W -d db.backup I've tried with and without "-C", with and without "-1", and a few other variations. Nothing seems to work. I keep getting errors about db roles and auth issues. Again, does anyone have any advice on this issue? Thanks in advance!
↧
Create Help Page using PDF.
Hello All, Is there a way to upload a pdf from backend in mendix and then show the pdf on a page. I want to create a help page, which when clicked takes the user to a page where I can explain how to use the application or website using the pdf. Kindly help.
↧
Setting first item in listview selected when opening a page
I want the first item in a listview to be selected, because a dataview is listening (Listen to widget) to this listview and I want the user to have visual feedback when opening a page that indeed the first item is active. Similar as https://forum.mendixcloud.com/link/questions/88441 The suggestion in that other post hints at using a Javascript snippet. So I thought I would use that approach, but it's not working for me. This is what I have on my page: And I have the following in the HTMLSnippet:
document.getElementsByClassName("master-detail-masterlist")[0].getElementsByClassName("mx-listview-item")[0].className += " selected"; I tried a few things, but I get the following on my page: Any suggestions?
↧
↧
Dealing with failed test cases in ATS
Hey, How can we best deal with failed test cases? And what can we do to not pollute our environment of the application when a test case fails? Kathy
↧
How is it possible to get a "duplicate key value violates unique constraint" error?
Hi all, today I found this error on our server logs:
UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "crmcore$person_pkey"
Detail: Key (id)=(30680772461462705) already exists. (SQL State: 23505, Error Code: 0) If I interpret this correctly there a uniqueness constraint violation on the internal id generated by Mendix. So, how is is possible that this can happen at all? I expected that Mendix should handle that kind of stuff. Now I'm really wondering what we could do to fix this. Did anyone else see this kind of error? regards, Fabian
↧
Selenium and Navigation items
Does anyone have experience using Selenium to test clicking on Navigation items in a Navigation Tree widget in Mendix? I'm having a really hard time, as I can get the items for the Tree or for the individual tags of the links, but trying to click them in Selenium returns errors because they are not 'visible'. Even if I wait until well after the page was loaded, it is still not successful. I can successfully click on links in the pages and it seems to work just fine, but clicking on the Navigation items is causing me real problems. Does anyone know the proper way to go about this?
↧
Updating a project from version 5 to 6 to 7
I've been trying to update a old internal project and It has been a struggle to find out the correct version possibilities. I've started with a project which was created in 1. version 5.9.1 I've updated this to 2. version 5.21.5 Afterwards I've updated to 3. version 6.10.7 Afterwards I was able to upgrade to 4. version 7.3.0 and from there on to 5, version 7.13.1 My question, why was it not possible to update from (e.g.) 5.21.8 --> 6.0.1 and there was no indication which versions should be used. In the documentation it say's you should use the latest version https://docs.mendix.com/refguide6/moving-from-5-to-6 but this did not work. It was a lot of trial and error before I figured out that you can only update to version 6.10.7. Same thing goes for going from 6 to 7.. Is there some documentation which I missed? I've tried to find some logic in the release dates but this did not help. E.G: 5.21.4 (4/21/2016) 6.1.0 (1/5/2016) According to the documentation this should be a possible conversion but this was not accepted...
↧
↧
Compilations of Java actions failed
Buildfile: E:\Mendix\App-main\deployment\build_core.xml compile: [javac] Compiling 39 source files to E:\Mendix\App-main\deployment\run\bin [javac] E:\Mendix\App-main\javasource\smtpemailmodule\mail\EmailModule.java:12: error: package com.mendix.util.classloading does not exist [javac] import com.mendix.util.classloading.Runner; [javac] ^ [javac] E:\Mendix\App-main\javasource\smtpemailmodule\mail\EmailModule.java:130: error: cannot find symbol [javac] new Runner
↧
Microflow to fetch values from previous field
Hello, I want to have values populated when I select Event Name. The values are stored in different entities and they all combined have to be stored in other entity(Expenses). When I click on New button in a grid a form opens up where in case I want these values fetched. On Save, the pop up will close and all these values would be displayed in a data grid. Please refer below screenshot. What object to pass in the microflow to fetch the food costs and other values from other table based on the selected event name?
↧
SMTP Email Server configuration
Hi, I am unable to save Server configuration for Email Template and also getting error while saving data in database.Test email working fine.
↧