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

Replace string comparisons with OverlayType enum in Token States #3846

Merged
merged 4 commits into from Feb 27, 2023

Conversation

thelsing
Copy link
Collaborator

@thelsing thelsing commented Feb 25, 2023

Identify the Bug or Feature request

Fix #3844

Description of the Change

Replace string comparison with a proper OverlayType enum.

Release Notes

  • Fixed Bug that made it impossible to change state definions in languages other than en.

This change is Reviewable

@thelsing
Copy link
Collaborator Author

No idea why the formatting checker errored. It has nothing to do with this PR I think.

@kwvanderlinde
Copy link
Collaborator

Just clicked "approve" then remembered I wanted to ask one thing: what is the new dependency on Apache Commons BeanUtils for?

@thelsing
Copy link
Collaborator Author

Just clicked "approve" then remembered I wanted to ask one thing: what is the new dependency on Apache Commons BeanUtils for?

It's needed at runtime to open the preferences dialog if you run MT outside of intellij. I removed it when I cleaned up the dependencies. You get a ClassNotFoundException otherwise.

@Phergus Phergus changed the title Fix #3844 Replace string comparisons with OverlayType enum in Token States Feb 27, 2023
@Phergus Phergus merged commit 31066c9 into RPTools:develop Feb 27, 2023
@cwisniew cwisniew added the bug label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

[Bug]: Adding/Editing state with dot produces java.lang.IllegalArgumentException
4 participants