diff --git a/quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp b/quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp index 2cbef5347..15dd4508b 100644 --- a/quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp +++ b/quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp @@ -717,7 +717,10 @@ QString RelaysPlugin::resultsIofXml30() } QVariantList split{QStringLiteral("SplitTime")}; append_list(split, QVariantList{"ControlCode", cd.code()}); - append_list(split, QVariantList{"Time", time / 1000}); + if(time == 0) + split.insert(1, QVariantMap{ {QStringLiteral("status"), QStringLiteral("Missing")} }); + else + append_list(split, QVariantList{"Time", time / 1000}); append_list(person_result, split); } } diff --git a/quickevent/app/quickevent/plugins/Runs/src/runsplugin.cpp b/quickevent/app/quickevent/plugins/Runs/src/runsplugin.cpp index 7eea7fde8..736bc2e0c 100644 --- a/quickevent/app/quickevent/plugins/Runs/src/runsplugin.cpp +++ b/quickevent/app/quickevent/plugins/Runs/src/runsplugin.cpp @@ -927,10 +927,11 @@ bool RunsPlugin::exportResultsIofXml30Stage(int stage_id, const QString &file_na QVariantList split_time{ QStringLiteral("SplitTime"), QVariantList{QStringLiteral("ControlCode"), cd.code() }, - QVariantList{QStringLiteral("Time"), stp_time / 1000 }, }; if(stp_time == 0) split_time.insert(1, QVariantMap{ {QStringLiteral("status"), QStringLiteral("Missing")} }); + else + split_time.insert(split_time.count(), QVariantList{QStringLiteral("Time"), stp_time / 1000}); result.insert(result.count(), split_time); ix += 4; }