Closed bmartin5692 closed 1 month ago
@eljeffeg - This one has a bit more to review than the last, but addresses some things we've run into as we explore the import/export options more. It also has a few fixes for ui/functions outside of the export/import directly as noted.
I can't recall why we excluded level 0. No issues on import?
No issues, and skipping it meant our export didn't have our first level details. The code actually ignores existing levels and boxes during import anyway. It is part of the reason I added the import_options so we could have it start fresh and load it fully.
Import / Export Fixes
Export New
avatar_path
element/upload/
(for example in a docker image). Allows export/import to utilize these and not lose the references during import./upload/
, theavatar_path
will be added to the export xml, otherwise it isn't added.Import New
import_options
elementclear_levels
- Set to "1" to delete all levels before import startsclear_corps
- Set to "1" to delete all corporations before import starts<import_options clear_levels="1" clear_corps="1" />
avatar_path
supportBox - avatar setter change
avatar_path
from second valueavatar_path
isupload
- handle like previously to create image based on box.uuidavatar_path
as-is for image path, the assumption is this will only be from xml importsView
Other