Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#22 closed enhancement (released)

Add functionality to get failed file loads and reason

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

Description

Initial file loading just logged out using the LogNotifier if the loading failed. This should be improved so that a list of failed file loads and the reason for the failure is returned.

Change History (11)

comment:1 Changed 11 years ago by ibboard

Status: newaccepted

comment:2 Changed 11 years ago by ibboard

(In r27) Closes #21 - File loading in order

  • Reworked LoadFiles to smaller methods for readability (also re #10) and structure
  • Now determine expected load return before loading then load all "expected GameSystem" before "expected Race"
  • Make "can load as race/game system/army" methods public in interface

Re #22 - Get errored file loading

  • Created FileLoadFailure class and made LoadFiles return a list of them

Also

  • Some code cleanup
  • Change to DictionaryUtils calls

comment:3 Changed 11 years ago by ibboard

Milestone: WarFoundry 0.2

comment:4 Changed 10 years ago by ibboard

Owner: ibboard deleted
Status: acceptedassigned

Release back to the main queue as it isn't important for this first milestone.

comment:5 Changed 10 years ago by ibboard

Milestone: WarFoundry 0.2WarFoundry 0.1

Bring forward to v0.1 again, since failed file loads cause problems when people are trying to beta test with their own data files!

comment:6 Changed 10 years ago by ibboard

(In r261) Re #22 - Get errored file loading

  • Correct documentation

comment:7 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: assignedaccepted

comment:8 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(In r272) Fixes #22: Add functionality to get failed file loads and reason

  • Add event for file load start and end - end event has list of failures as parameter

comment:9 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:10 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:11 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.