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

Recalculate Route Without Profiles Changing does not update GPX #20870

Open
david-gpu opened this issue Sep 18, 2024 · 1 comment
Open

Recalculate Route Without Profiles Changing does not update GPX #20870

david-gpu opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@david-gpu
Copy link

Description

When you select a track and click on "Recalculate Route Without Profiles Change", the route is updated on the screen. However, if you then click on the "Save" button on the upper right corner, the GPX is left unchanged.

Steps to reproduce

Open a track. Click on the bottom right icon that indicates which type of routing is used. This opens a menu that reads "Route between points". Scroll down and click on "Recalculate Route Without Profiles Changing".

A new route will appear on the screen after a few seconds -- e.g. because the map has changed or because routing.xml is different from the last time the route was computed. Now click on the "Save" button on the upper right corner.

Actual result

The track remains unchanged after saving.

Note that the new route will be saved if you click on a transportation method, such as Cycling. But if you select "Recalculate Route Without Profiles Changing" then the changes are not saved.

Expected result

The track should be updated with the new route as it appeared on the screen after "Recalculate Route Without Profiles Changing" was clicked.

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.8.6
Android/iOS version: Android 13
Device model: Samsung A71
Crash-Logs: ?
@yuriiurshuliak
Copy link

The bug is reproducible. To reproduce it, follow these steps:

  • Import the track Furkot_Test_Route_-_2.zip.
  • Navigate to Menu → Plan a route → Open existing track → Options → Route between points.
  • Select Recalculate route without profile changing.
  • Then choose a profile, such as car, and wait for the route to be recalculated.
  • Save the track.

As a result, after recalculating, the track is updated, but once you save it and review the changes, they won’t appear. Instead, the original track will be displayed without the modifications.

OsmAnd~ 4.9.0#3258m, released: 2024-09-23

video_2024-09-23_13-32-56.mp4

@vshcherb vshcherb added this to the 4.9-android milestone Oct 28, 2024
@nazar-kutz nazar-kutz self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants