melinsoftware / meos

MeOS - A Much Easier Orienteering System
GNU Affero General Public License v3.0
49 stars 26 forks source link

Missing <Id> in IOF XML exports #53

Closed otahirs closed 1 year ago

otahirs commented 1 year ago

iof xml exports (startlist, resultslist) are missing the Id for person.
it it important to be able to properly map information exported using MeOS Online Protocol with documents exported as IOF XML

<Person>
    <Id>42</Id> <!-- missing -->
    <Name>
        <Family>Hirs</Family>
        <Given>Otakar</Given>
    </Name>
</Person>
erikmelin commented 1 year ago

The Id is included, provided you have set the external Id for the person. MeOS will not export its internal Id since it is of little interest. If you import from IOF-XML with an Id, the external Id is set automatically.