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] Channel map variable not assigning to script variable in post processor script. HOT 1
- [BUG] Webservice Listner not work. Error while searching for service [javax.xml.ws.spi.Provider] HOT 7
- [IDEA] Roll up the Rev(ision) column count to the Group level
- [BUG] Security Scans "X-Content-Type-Options HTTP Header is not detected"
- [BUG] Path traversal for HTTP Static Resource directories is allowed on Windows machines
- org.mozilla.javascript.MemberBox accesses internal sun class which fails on higher java versions HOT 1
- [IDEA] Granular Message Storage Settings HOT 5
- [IDEA] Ability to set the "font color" on tags.
- Add serverName and environmentName to the alert template variables list HOT 1
- Unable to retrieve payload from HTTP request url:https://localhost:8443
- [IDEA] Response Processor and Global Response Processor Scripts HOT 8
- [IDEA] Reminder for global data pruner setting HOT 5
- [BUG] Query Parameters on an HTTP Sender Connector are not sent in order
- [IDEA] Add a mechanism for unlocking user accounts
- [BUG] Mirth 4.5.0 - Transformer steps are overwriten (code is lost and overwritten by other step's code) when moved around HOT 1
- [IDEA] Add Event Log Entries for Exporting Channel Messages
- [BUG] Attachment Viewer Does Not Display Non-base64 Encoded Attachments
- [BUG] Mirth 4.5.0 is not working properly.
- [IDEA] Include ESCAPE clause in LIKE SQL statements used by Advanced Message Filter Operators
- [IDEA] webstart.jnlp Url from RequestUrl HOT 2
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.