You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Double quotes in text fields break loading save.
To Reproduce
Steps to reproduce the behavior:
Start Force Balancer
Add a Unit
In the Lance field, type "foo" test and tab out of the field
Save the force as foo.bfb.
Quit, reopen, reload the force.
Save will not load.
Expected behavior
Force should reload.
foo.bfb contains the following line: <group name=""foo" test" logo="" type="Inner Sphere" >
which fails the XML parser, because the quotes around foo should be escaped, I assume.
From Logs/bfb.log
Loading Scenario from /Users/mike/foo.bfb
[Fatal Error] foo.bfb:7:27: Element type "group" must be followed by either attribute specifications, ">" or "/>".
Element type "group" must be followed by either attribute specifications, ">" or "/>".
Screenshots
See attached
Desktop (please complete the following information):
OS: MacOS 13.3.1 (a)
JRE openjdk 11.0.20.1 2023-08-24
The text was updated successfully, but these errors were encountered:
Describe the bug
Double quotes in text fields break loading save.
To Reproduce
Steps to reproduce the behavior:
"foo" test
and tab out of the fieldExpected behavior
Force should reload.
foo.bfb contains the following line:
<group name=""foo" test" logo="" type="Inner Sphere" >
which fails the XML parser, because the quotes around
foo
should be escaped, I assume.From Logs/bfb.log
Screenshots
See attached
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: