Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Template Library Dependency Fixer #5

Open
odoodo opened this issue Sep 23, 2024 · 0 comments
Open

Code Template Library Dependency Fixer #5

odoodo opened this issue Sep 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@odoodo
Copy link
Owner

odoodo commented Sep 23, 2024

Context
Mirth channels can code template or functions (that are also located in code templates). These code templates are grouped in so-called code template libraries that in turn must be referenced by the channel that intends to use them.
It usually is hard to see if all needed code template libraries are referenced by a channel and also if all referenced libraries are actually needed by the channel. Invalid referencing can however results in errors at runtime and thus cause serious issues.

Goal
Mirth Migrator automatically detects and indicates code template library references:
image
(green=needed and referenced, red=needed and not yet referenced, grey=referenced but not needed)
So far, the invalid dependencies have to be fixed manually via the Mirth Administrator. This should be automated via Mirth Migrator.

Needed actions

  • Implement routine for automatically fixing dependencies of a Mirth channel (maybe also add option for fixing dependencies of all channels)
  • Add a Fix Dependencies button to the Referenced Libraries sections if inconsistencies have been detected
  • Display a warning icon (e.g. warning triangle) in the channel list for every channel w/ inconsistencies
@odoodo odoodo added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant