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

Prevent crashes due to circular activity calls #426

Open
paetz opened this issue May 3, 2023 · 0 comments
Open

Prevent crashes due to circular activity calls #426

paetz opened this issue May 3, 2023 · 0 comments
Labels
feature New feature or request

Comments

@paetz
Copy link
Collaborator

paetz commented May 3, 2023

To enable jumps from tourbook entry to e.g. route, we need some crash prevention.
Scenario:

  1. Go to ascent via tourbook
  2. From there go to the according route (to be implemented)
  3. Delete the according ascent from the route view
  4. Navigate back (via back button) to the ascent view --> This is gonna crash since ascent is not available anymore.

Solution would be to check for existing ascent on entering the ascent view. If not, toast an error and go back to database view or (if possible) to the previous view in the calling history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant