-
Notifications
You must be signed in to change notification settings - Fork 135
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
[0.49.20+] Difficulty saving Battle Armor units #1558
Comments
This is caused by square brackets in the unit name. Absolutely no idea why that's a problem, though. |
I see that removing the square brackets works around this. I agree, this is odd. There must be a good reason for this behavior, but I can't imagine what it would be. |
I should add that this is definitely OS-specific. Possibly Fedora related, since I only tested on Fedora 40. |
Interesting. Looking at the code there doesn't seem to be any special handling of characters or anything else suspicious in the MML code. I'm assuming you tested with the system JDK only? (That's all I've tried, though I'm downloading adoptium because it seems like it would be an interesting test) |
I got the same (problematic) behavior with Temurin 21:
|
Environment
0.49.20 and current nightlies (As 0f 7/12/2024)
JDK 11, 17, and 21
Bundle MML from MekHQ in Fedora Linux 40
Description
When trying to save custom battlearmor units, the filetype is replaced with the filename, and the file doesn't save. It may also be significant that more elements are added to the "File TYpe" part of the dialog.
The issue appears to be related to the dialog, the save happens fine when there is no dialog.
Files
Logfile doesn't seem to have anything interesting, but you may be interested in the versions:
I have been able to reproduce the issue with all 3 versions of the system JDK available on Fedora 40
The text was updated successfully, but these errors were encountered: