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

Creating a new app instantly navigates #252

Closed
rolznz opened this issue Jul 11, 2024 · 2 comments
Closed

Creating a new app instantly navigates #252

rolznz opened this issue Jul 11, 2024 · 2 comments
Assignees

Comments

@rolznz
Copy link
Contributor

rolznz commented Jul 11, 2024

There seems to be a bug sometimes creating a second app connection after the first was successfully setup (and received an event). It looks like a bug with the old app pubkey being cached somewhere, causing an instant navigation on the /created page.

video.mov

A temporary workaround is to do a hard refresh before creating a new app connection

@rolznz
Copy link
Contributor Author

rolznz commented Jul 13, 2024

SQLITE cascading delete is not working, so when deleting an app and creating a new one, old request events are linked to the new app.

I realized to do this properly we should also delete the response events, which currently have an issue with the constraint to payments, which is solved by #226

@rolznz
Copy link
Contributor Author

rolznz commented Jul 14, 2024

Update: cascading delete is working initially, but seems like a bug with re-using IDs. This should be solved if we add AUTOINCREMENT to all our primary keys.

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

Successfully merging a pull request may close this issue.

3 participants