Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay XML export, Organisation/ShortName se liší u StartList a ResultList u jednorázových přihlášek #957

Open
otahirs opened this issue Jan 14, 2024 · 5 comments
Assignees
Labels

Comments

@otahirs
Copy link
Member

otahirs commented Jan 14, 2024

U týmů přihlášených přes jednorázové přihlášky v orisu se v exportu startovek a výsledků liší <Organisation> -> <ShortName>


image


image

@fvacek fvacek added the 1 label Jan 14, 2024
@fvacek
Copy link
Collaborator

fvacek commented Jan 20, 2024

mohl bys prosim prilozit qbe

@otahirs
Copy link
Member Author

otahirs commented Jan 20, 2024

xml exporty a qbe zde kd24.zip

ps: Závod byl pořádán na speciální verzi QE, kvůli potřebě více závodníků na jednom úseku, ale dle změn by to nemělo mít význam. https://github.com/otahirs/quickbox/pull/10/files

@fvacek
Copy link
Collaborator

fvacek commented Jan 21, 2024

a jeste jedna otazka, jak by to melo vlastne spravne vypadat? :)

@otahirs
Copy link
Member Author

otahirs commented Jan 21, 2024

dobrá otázka :D


první věc je že v <TeamMemberResult> máme nyní v <Organization> něco takového

<TeamMemberResult>
	<Organisation>
		<Name></Name>
		<ShortName>ZBM</ShortName>
	</Organisation>

u <TeamMemberStart> nemáme nic, tak by to chtělo do <TeamMemberStart> dát aspoň to něco co je teď v <TeamMemberResult> nebo naplnit pořádně


pak <Organization> by v <TeamStart>/<TeamResult> měla být stejná,
pro normální kluby to funguje, u těch jednorázových vlastně skoro taky, i když jednou je tam nic a jednou prázdná struktura

<TeamStart>
	<EntryId>1</EntryId>
	<Name>ZBM 1</Name>
	<Organisation>
		<Name>SK Brno Žabovřesky</Name>
		<ShortName>ZBM</ShortName>
	</Organisation>
	<!-- u klubu 001
	<Organisation>
		<Name></Name>
		<ShortName></ShortName>
	</Organisation>
	-->
	<BibNumber>1</BibNumber>
	<TeamMemberStart>
<TeamResult>
	<EntryId>1</EntryId>
	<Name>ZBM 1</Name>
	<Organisation>
		<Name>SK Brno Žabovřesky</Name>
		<ShortName>ZBM</ShortName>
	</Organisation>
	<!-- u klubu 001
	 nic
	-->
	<BibNumber>1</BibNumber>
	<TeamMemberResult>

@fvacek
Copy link
Collaborator

fvacek commented Jan 21, 2024

b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 597)                                 QVariantList{"Organisation",
b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 598)                                         QVariantList{"Name", tt_teams_row.value(QStringLiteral("orgName"))},
b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 599)                                         QVariantList{"ShortName", tt_teams_row.value(QStringLiteral("orgShortName"))},
b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 600)                                 }
b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 601)                         );
b26e721c4 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirs     2022-12-19 11:42:45 +0100 602) 
e8525fa89 quickevent/app/quickevent/plugins/Relays/src/relaysplugin.cpp (Otakar Hirš     2022-07-12 13:43:17 +0200 603)                         int relay_number = tt_teams_row.value(QStringLiteral("relayNumber")).

tak trochu to vypada, ze bys tomu asi mel nejvic rozumet ty :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants