GoldenCheetah / GoldenCheetah

Performance Software for Cyclists, Runners, Triathletes and Coaches
http://goldencheetah.org/
GNU General Public License v2.0
1.82k stars 444 forks source link

Empties data file: Fix lap swim from length data #2892

Closed bobsica closed 5 years ago

bobsica commented 6 years ago

I forgot to change my garmin watch from 25 to 50 m, did a swim and downloaded it to GC. If I use "Fix lap swim from length data" in Edit and type in 50 for pool length all my data disappears, I'm left with a blank file.

Mac, High Sierra, 3967 build on 8 June

amtriathlon commented 6 years ago

I just tried to change the pool length from 25 to 50 in a test activity from Garmin Swim and it behaves as expected, distance is doubled, no data lost. Can you post the offending file?

bobsica commented 6 years ago

Attached is the tcx version of the file. It was recorded with a Garmin Tactix Bravo in Swimming mode.

testSwim.tcx.zip

amtriathlon commented 5 years ago

This problem happens when Garmin Smart Recording is disabled in preferences, since the user is explicitly requesting the lap expansion we can ignore that setting to avoid confusion.