Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#272 closed defect (released)

Program errors on exit if language file fails to load.

Reported by: Henri Owned by: ibboard
Priority: minor Milestone:
Component: WarFoundry-API Version: Unknown or N/A
Keywords: Cc:
Blocked By: Blocking:

Description

Got an unexpected error. I added the Preferences line to the Swedish file and must have made the file invalid on the way. The program warns of a unsuccessful load, takes the defaults, but the errors when program is closed saying "Translation language cannot be null or empty".

Change History (4)

comment:1 Changed 10 years ago by Henri

Additionally it seems to mess up something with the English translation (or which ever I pick instead of the failed Swedish one). It fails the en translation on load even though it seems to read them correctly as I can change from the default to the English "translation" yet as soon as the program is restarted the same issue arises.

comment:2 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

Not quite sure how you triggered it, but I've found a way (make the ID required and create a file without an ID)

comment:3 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

Fixed in ibboard:r180

comment:4 Changed 10 years ago by ibboard

Resolution: fixedreleased

Release as part of v0.1b9

Note: See TracTickets for help on using tickets.