Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#21 closed task (released)

Make file loading load files in order

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

Description

As part of the new loading method from #9 and related refactoring we need to ensure that Game Systems are loaded first, then Races.

Change History (6)

comment:1 Changed 11 years ago by ibboard

Status: newaccepted

comment:2 Changed 11 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

(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

(In r28) Re #21 - File loading in order

  • Use new methods
  • Only add GameSystem to returned collection once

Also

  • Cleaner loading of objects
  • Replace use of deprecated Category constructor
  • Specify GameSystem of Race

no-open-ticket

comment:4 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:5 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:6 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.