Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6 closed defect (released)

Stop missing data folder being fatal

Reported by: ibboard Owned by: ibboard
Priority: critical Milestone:
Component: WarFoundry-API Version:
Keywords: Cc:
Blocked By: Blocking:

Description

If the data folder is completely missing then WarFoundry crashes with an exception. This is probably API level and should be better handled as an empty folder results in an empty list of armies.

Change History (5)

comment:1 Changed 11 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

comment:2 Changed 11 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r13) Fixes #6 - Stop missing data folder being fatal

  • Add check that directory exists before trying to get file list
  • Add warning message if directory doesn't exist

comment:3 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:4 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:5 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.