View Issue Details

IDProjectCategoryView StatusLast Update
0009386Dwarf FortressLegends Mode -- History Exportpublic2024-02-07 14:26
ReporterQuietust Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version0.42.03 
Summary0009386: Artform creation history exports have wrong subregion/layer IDs
DescriptionWhen exporting historical events of type "poetic form created", "musical form created", "dance form created", or "written content composed", the subregion_id and feature_layer_id fields, if they are exported, contain the value of the site_id field by mistake.
Additional InformationThe code checks the site_id, subregion_id, and feature_layer_id to see if they are -1 (to skip outputting them), but in all cases they output the site_id between the XML tags.
TagsProbable Quick Fix

Activities

Quietust

2024-02-07 14:26

reporter   ~0042027

Still appears to be an issue as of version 50.11, with the code appearing to do something like this:

if (site_id != -1) fseed << indentation << '\t' << "<site_id>" << site_id << "</site_id>" << endl;
if (subregion_id != -1) fseed << indentation << '\t' << "<subregion_id>" << site_id << "</subregion_id>" << endl;
if (feature_layer_id != -1) fseed << indentation << '\t' << "<feature_layer_id>" << site_id << "</feature_layer_id>" << endl;

Add Note

Note

Issue History

Date Modified Username Field Change
2015-12-18 18:22 Quietust New Issue
2024-02-07 14:26 Quietust Note Added: 0042027
2024-02-07 14:26 Quietust Tag Attached: Probable Quick Fix