Favorite Group name could be different during import
Open
Nobody has claimed this yet.
Nice to have
- Dominant language
- MDX
- Stars
- 62
- Forks
- 413
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 81
Description
GPX files containing favorites cannot be imported.
Sample file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gpx version="1.1" xmlns="http://www.topografix.com" xmlns:xsi="http://www.w3.org" xsi:schemaLocation="http://www.topografix.com http://www.topografix.com/gpx.xsd">
<metadata>
<name>Test Favorites</name>
</metadata>
<wpt lat="45.0" lon="7.0">
<name>Test 1</name>
</wpt>
</gpx>
The console shows the following reply:
SyntaxError: JSON.parse: unexpected character at line 1 column 221 of the JSON data
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by importing the sample GPX file and inspect the browser console response showing the JSON.parse error. Trace the favorites import entry point to identify why this GPX input produces invalid JSON, then verify that the sample file imports successfully without the parsing error.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100