EGON document #373

Closed
opened 10 months ago by mpeltriaux · 1 comments
Owner

Status quo

EGON does not receive all listed documents, due to an incorrect listing of each document in the resulting xml.

Enhancement

Make sure that https://git.naturschutz.rlp.de/SGD-Nord/konova/src/branch/master/intervention/utils/egon_export.py#L147-L160 does not create an incorrect xml list.

Current state of xml:

		<oneo:foto>
			<oneo:Foto>
				<oneo:aufnahmezeitpunkt>13.12.2023</oneo:aufnahmezeitpunkt>
				<oneo:bemerkung></oneo:bemerkung>
				<oneo:fotoverweis>test</oneo:fotoverweis>
				<oneo:dateiname>uml_kom.pdf</oneo:dateiname>
				<oneo:hauptfoto>false</oneo:hauptfoto>
			</oneo:Foto>
		</oneo:foto>
		<oneo:foto>
			<oneo:Foto>
				<oneo:aufnahmezeitpunkt>01.12.2022</oneo:aufnahmezeitpunkt>
				<oneo:bemerkung></oneo:bemerkung>
				<oneo:fotoverweis>test</oneo:fotoverweis>
				<oneo:dateiname>FN_16-09-22-2.pdf</oneo:dateiname>
				<oneo:hauptfoto>false</oneo:hauptfoto>
			</oneo:Foto>
		</oneo:foto>

Supposed to be

		<oneo:foto>
			<oneo:Foto>
				<oneo:aufnahmezeitpunkt>13.12.2023</oneo:aufnahmezeitpunkt>
				<oneo:bemerkung></oneo:bemerkung>
				<oneo:fotoverweis>test</oneo:fotoverweis>
				<oneo:dateiname>uml_kom.pdf</oneo:dateiname>
				<oneo:hauptfoto>false</oneo:hauptfoto>
			</oneo:Foto>
			<oneo:Foto>
				<oneo:aufnahmezeitpunkt>01.12.2022</oneo:aufnahmezeitpunkt>
				<oneo:bemerkung></oneo:bemerkung>
				<oneo:fotoverweis>test</oneo:fotoverweis>
				<oneo:dateiname>FN_16-09-22-2.pdf</oneo:dateiname>
				<oneo:hauptfoto>false</oneo:hauptfoto>
			</oneo:Foto>
		</oneo:foto>
# Status quo EGON does not receive all listed documents, due to an incorrect listing of each document in the resulting xml. # Enhancement Make sure that https://git.naturschutz.rlp.de/SGD-Nord/konova/src/branch/master/intervention/utils/egon_export.py#L147-L160 does not create an incorrect xml list. Current state of xml: ```xml <oneo:foto> <oneo:Foto> <oneo:aufnahmezeitpunkt>13.12.2023</oneo:aufnahmezeitpunkt> <oneo:bemerkung></oneo:bemerkung> <oneo:fotoverweis>test</oneo:fotoverweis> <oneo:dateiname>uml_kom.pdf</oneo:dateiname> <oneo:hauptfoto>false</oneo:hauptfoto> </oneo:Foto> </oneo:foto> <oneo:foto> <oneo:Foto> <oneo:aufnahmezeitpunkt>01.12.2022</oneo:aufnahmezeitpunkt> <oneo:bemerkung></oneo:bemerkung> <oneo:fotoverweis>test</oneo:fotoverweis> <oneo:dateiname>FN_16-09-22-2.pdf</oneo:dateiname> <oneo:hauptfoto>false</oneo:hauptfoto> </oneo:Foto> </oneo:foto> ``` Supposed to be ```xml <oneo:foto> <oneo:Foto> <oneo:aufnahmezeitpunkt>13.12.2023</oneo:aufnahmezeitpunkt> <oneo:bemerkung></oneo:bemerkung> <oneo:fotoverweis>test</oneo:fotoverweis> <oneo:dateiname>uml_kom.pdf</oneo:dateiname> <oneo:hauptfoto>false</oneo:hauptfoto> </oneo:Foto> <oneo:Foto> <oneo:aufnahmezeitpunkt>01.12.2022</oneo:aufnahmezeitpunkt> <oneo:bemerkung></oneo:bemerkung> <oneo:fotoverweis>test</oneo:fotoverweis> <oneo:dateiname>FN_16-09-22-2.pdf</oneo:dateiname> <oneo:hauptfoto>false</oneo:hauptfoto> </oneo:Foto> </oneo:foto> ```
mpeltriaux added the
bug
label 10 months ago
mpeltriaux self-assigned this 10 months ago
mpeltriaux added reference 373_EGON_document 10 months ago
Poster
Owner

Merged in #374

# Merged in #374
mpeltriaux closed this issue 10 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#373
Loading…
There is no content yet.