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

FIX: /login loop when categories is default homepage #117

Merged
merged 1 commit into from Sep 8, 2023
Merged

Conversation

renato
Copy link
Contributor

@renato renato commented Sep 7, 2023

/login is going into an infinite loop if the categories list is set as default homepage.

This PR fixes it by not aborting the current transition and only redirecting on the next cycle.

It also fixes a test failure that has been happening for ~2 months.

For reference, the removed transition.abort() call was probably intended as a workaround for this (still open) Ember issue: emberjs/ember.js#18577

Copy link
Contributor

@janzenisaac janzenisaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@renato renato merged commit 92e8893 into main Sep 8, 2023
4 checks passed
@renato renato deleted the fix_login_loop branch September 8, 2023 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants