Comments (5)
The relevant code is at:
--- Is your channel with the mapped value enabled or disabled? Is it deployed or undeployed? --- NVM I see it is started so it has to be enabled and deployed
If you call the /channel/portsInUse
API do you get back your mapped port?
The API actually does a DB lookup -
connect/donkey/donkeydbconf/postgres.xml
Line 197 in e0db549
For comparison, I wrote a plugin that adds the listening port to the dashboard view. You can see how my code does the template substitution at https://github.com/jonbartels/mirth-connect-dashboard-count/blob/bda790c9577ccb3f8d6bd8c8c7bd3dddfdf5b58a/server/src/main/java/com/jonbartels/mirthdashboard/server/servlet/ListeningPortServlet.java#L31 . I don't see where the ports in use listing from MC 4.2.0 does a similar template replacement. Note that my plugin is sensitive to deployment state.
from connect.
The logs were helpful. The problem is on this line: https://github.com/nextgenhealthcare/connect/blob/442b0895ab988071a294b5fda68b59474a4de8b7/donkey/src/main/java/com/mirth/connect/donkey/server/data/jdbc/JdbcDao.java#L3115\
See how it converts a string from the DB to an int? It reads ${AmaronFoundaBug}
and tries to convert that to an int.
NextGen needs to release 4.2.1 to fix this.
@AmaronSimonDeSmet - Great bug report. It sucks to find bugs but you wrote up the issue clearly and that helped to find the issue. Nice work and thanks for helping the community!
from connect.
Tagging @pladesma and @twest-mirthconnect .
from connect.
Thanks to both. We have the big and are in review with it.
from connect.
yes i have a fix for this issue. the string variables will be pulled in from the database then will be passed to the replacer module which will convert the velocity variable to its context value.
from connect.
Related Issues (20)
- [BUG] Set "Response Timeout" to a channelMap in a TCP Sender HOT 2
- [BUG] GUID generation not very random HOT 4
- Mirth service is not getting restarted HOT 4
- [BUG] Ability to restart subsystems related to logging in HOT 13
- [BUG] MirthConnect Version 4.5.0 - Java 17 - Web Service Sender - button "Get Operations" fails if authentication is needed HOT 13
- DestinationSetFilter-name is not consistent with the Generated Script HOT 1
- [BUG] Error when adding custom metadata HOT 1
- [BUG] Loading statistics and deploying channels slow on service restart HOT 4
- [IDEA] Polling per channel, Advanced Clustering
- [BUG] 4.5.0 - API - /channels/{channelId}/messages/{messageId} HOT 20
- Alphabetize Dependencies within source tab
- Need guidance on how we can connect to Azure service bus and able to send the message to ASB queue through JMSSender as one of the destination HOT 1
- [BUG] Custom metadata columns are always formatted using toString() in the message browser.
- [BUG] `java.lang.LinkageError` loading `javax.xml.namespace.QName` HOT 1
- [BUG] JSON parse FHIR resources error using Hapi FHIR HOT 2
- [IDEA] Read server name and environment name from ENV VARS
- [SECURITY] Possible 0-Day Path Traversal Vulnerability in Mirth Connect Administrator HOT 2
- [IDEA] Advance Alerting Plugin HOT 2
- [IDEA] Migrate from JCIFS-NG to SMBJ to provide better SMB3 support HOT 3
- [IDEA] Optionally Encrypt Configuration Map HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect.