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

Use UUID instead of ID for passing objects between screens #253

Open
sampie777 opened this issue Jun 3, 2024 · 0 comments
Open

Use UUID instead of ID for passing objects between screens #253

sampie777 opened this issue Jun 3, 2024 · 0 comments

Comments

@sampie777
Copy link
Owner

sampie777 commented Jun 3, 2024

Instead of passing a ID to SongDisplayScreen, use the UUID. This will fix the bug when:

  1. Update database bundle.
  2. While updating, open a song.
  3. When updated, this exact song doesn't exist in database anymore.
  4. Open verse picker and close it again to go back to the song.
  5. As the ID doesn't exist anymore, no song will be displayed.

That's why the UUID must be used, as the UUID will remain the same.

But first, automatic updates must be implemented, so that very old databases without UUID will be replaced with new versions with UUID: #76

@sampie777 sampie777 converted this from a draft issue Jun 3, 2024
@sampie777 sampie777 moved this from 🆕 New to 📋 Backlog in Hymnbook Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant