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

Fixed bug in "prev" / "next" on obs page. #2006

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Fixed bug in "prev" / "next" on obs page. #2006

merged 1 commit into from
Mar 7, 2024

Conversation

pellaea
Copy link
Member

@pellaea pellaea commented Mar 7, 2024

I don't know how to test this. There is already a test of this functionality. The problem is the old code relied on redirect_to returning something truthy. But this is not reliable apparently. But reliable enough that tests were passing.

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 94.43%. remained the same
when pulling 99edba7 on fix-flow-bug
into bc4d6cb on main.

@nimmolo
Copy link
Contributor

nimmolo commented Mar 7, 2024

Does redirect_to_next_object have a fallback if the object at :id has been deleted? (asking from phone, sorry). That was the issue, right?

@pellaea
Copy link
Member Author

pellaea commented Mar 7, 2024 via email

@pellaea pellaea merged commit 2ac5f2b into main Mar 7, 2024
5 checks passed
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 this pull request may close these issues.

None yet

3 participants