Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong conceal or trim marker #126

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

muktihari
Copy link
Member

@muktihari muktihari commented Oct 27, 2024

When the user does not specify the conceal or trim parameters, the default markers are 0 for startN and len(Records)-1 for endN.

Previously, the service concealed records at the start position <= startN and at the end position >= endN, which resulted in the first and last records always being concealed. It should have been set to < startN and > endN.

Some platforms, such as Runkeeper, will reject a GPX file if its <trkpt> elements do not include the lat and lon attributes, even for a single record.

This kind of issue can be minimized when we fully implement unit tests tracked on #94, but I haven't have time yet.

@muktihari muktihari added the bug Something isn't working label Oct 27, 2024
@muktihari muktihari self-assigned this Oct 27, 2024
@muktihari muktihari changed the base branch from master to dev October 27, 2024 11:59
@raditzlawliet
Copy link
Member

Is updating fit sdk also a step to fixing of this issue?

@muktihari
Copy link
Member Author

Is updating fit sdk also a step to fixing of this issue?

Nope, dev upstream seems outdated

@muktihari muktihari merged commit 795365b into openivity:dev Oct 28, 2024
1 check passed
muktihari added a commit that referenced this pull request Nov 12, 2024
* fix: wrong conceal or trim marker (#126)

* fix: aggregate session from laps (#130)

* fix: aggregate fill session

* feat: enable distance and speed removal (#131)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants