Skip to content

Wrong/missing IDs when exporting to GPX #695

Description

@pjacklam

Description

In the exported GPX file:

  • the cache ID is set to 1
  • the cache owner name and ID is missing
  • the finder ID is missing

Steps to Reproduce

Preparations (I chose just a random cache):

  1. Go to https://coord.info/GCBTPGK
  2. Click "Download GPX"
  3. Import this GPX file into an empty database
  4. Export to a GPX file
  5. Compare the imported and exported GPX files

The errors:

  1. The imported file contains the cache ID:
<groundspeak:cache id="10514043" available="True" (…)

but the exported file contains the wrong cache ID:

<groundspeak:cache id="1" available="True"  (…)
  1. The imported file contains information about the cache owner:
<groundspeak:owner id="3509005">LarsET</groundspeak:owner>

This line is not present at all in the output file.

  1. The imported file contains the finder ID for each log
<groundspeak:finder id="8343551">kottin</groundspeak:finder>

but the exported file contains only the username, not the user ID

<groundspeak:finder>kottin</groundspeak:finder>

Expected Behavior

I expected the cache ID to be correct in the output, and the owner ID (and name) and finder ID to be present in the exported GPX file.

Environment

Windows 10
OpenSAK-v1.17.0-beta.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions