Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

3.0.2 breaks external (XML only?) data #515

Closed
1 of 2 tasks
MartijnR opened this issue Oct 26, 2021 · 3 comments
Closed
1 of 2 tasks

3.0.2 breaks external (XML only?) data #515

MartijnR opened this issue Oct 26, 2021 · 3 comments
Milestone

Comments

@MartijnR
Copy link
Member

MartijnR commented Oct 26, 2021

Seen with http://localhost:8005/YYpM and http://localhost:8005/YY81 locally

Screen Shot 2021-10-26 at 11 29 46 AM

  • test with form that has proper external XML url (I the form above use file-csv .
  • report in enketo/enketo-express
@MartijnR MartijnR added this to the Next milestone Oct 26, 2021
@MartijnR
Copy link
Member Author

MartijnR commented Oct 26, 2021

resource download URL doesn't seem to survive transformation (query parameter stripped?): https://enketo-aggregate.appspot.com/xformsManifest?formId=vitals

<manifest xmlns="http://openrosa.org/xforms/xformsManifest">
<mediaFile>
    <filename>users.xml</filename>
    <hash>md5:4d500fedda6cca58a58d7067d3ec99ed</hash>
    <downloadUrl>https://enketo-aggregate.appspot.com/xformsDownload?blobKey=aggregate.opendatakit.org%3AFormInfo%5B%40version%3D1+and+%40uiVersion%3D0%5D%2F_form_info%5B%40key%3Dmd5%3A20d3dfbe2c2561d559eef1555973c403%5D%2F_form_info_fileset%5B%40ordinal%3D1%5D%2FmanifestFileset%5B%40ordinal%3D1%5D&as_attachment=true</downloadUrl>
</mediaFile>
<mediaFile>
    <filename>US_MAP.svg</filename>
    <hash>md5:5c36f92983624abfeb02570020fabdc3</hash>
    <downloadUrl>https://enketo-aggregate.appspot.com/xformsDownload?blobKey=aggregate.opendatakit.org%3AFormInfo%5B%40version%3D1+and+%40uiVersion%3D0%5D%2F_form_info%5B%40key%3Dmd5%3A20d3dfbe2c2561d559eef1555973c403%5D%2F_form_info_fileset%5B%40ordinal%3D1%5D%2FmanifestFileset%5B%40ordinal%3D2%5D&as_attachment=true</downloadUrl>
</mediaFile>
</manifest>

@MartijnR
Copy link
Member Author

MartijnR commented Oct 26, 2021

enketo/enketo#1041

OC may or may not experience this issue. It depends on how the media/data resources are listed in the form manifests.

I just happened to notice it with ODK Aggregate because I sometimes use it for development.

This issue can be removed here if OC doesn't experience it.

@MartijnR
Copy link
Member Author

MartijnR commented Dec 1, 2021

fixed

@MartijnR MartijnR closed this as completed Dec 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant