Skip to content

XML Dump for SItemPortDefTypes sub types only includes one item

Steps to reproduce:

Given the following entity:

Name: cds_armor_heavy_core_01_01_01

Type: EntityClassDefinition

GUID: 8eabeef4-5d8d-4db4-a4df-9fa151062b42

Path: libs/foundry/records/entities/scitem/characters/human/armor/pu_armor/heavy/core/cds_armor_heavy_core_01_01_01.xml

Dump to XML and Dump to JSON, then compare SItemPortContainerComponentParams/Types

In XML, only one subtype is included (seems to be the last one in the list)

In JSON, all subtypes are included

They both use the same record_to_dict method, so it may just be the conversion to the etree or the printing of it.

Edited by Russell Durham