Skip to content

Conversation

@rjwills28
Copy link
Contributor

I found a few issues during the conversion of OPI to BOB when the widgets contained an action to EXECUTE_CMD, EXECUTE_PYTHONSCRIPT or EXECUTE_JAVASCRIPT. These are detailed in #3340.

This PR fixes the 3 issues detailed in the issue ticket above and also adds 2 Java unit tests to test this functionality to ensure we don't miss an regression to converter in the future.

Currently these cannot be parsed and so the actions get removed
in the conveerted BOB.
The code was refactored to use auto-closing therefore the file does
not need to be explictly closed.
@georgweiss
Copy link
Collaborator

+1 for the unit tests

@georgweiss georgweiss merged commit dcc692c into ControlSystemStudio:master Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants