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

Feature: Not Found page #1496

Merged
merged 3 commits into from
Oct 25, 2022
Merged

Feature: Not Found page #1496

merged 3 commits into from
Oct 25, 2022

Conversation

ivan-kocienski-gfsc
Copy link
Contributor

Fixes: #1407

When an ActiveRecord resource can't be located, show a user friendly page.

@kimadactyl
Copy link
Member

kimadactyl commented Oct 24, 2022

Will this also fix #1408?

Looks good to me tho! (Will let F sign it off). Can't believe this is was issue all along, lol.

@ivan-kocienski-gfsc
Copy link
Contributor Author

Unfortunately not. Assets are served outside of the app so only missing resources will get covered by this fix

Copy link
Contributor

@aaaaargZombies aaaaargZombies left a comment

Choose a reason for hiding this comment

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

OK I'm approving because it delivers the not found page nicely when we don't have the resource for the matching ID. I assume this is good enough for roll bar but I can't see the actual errors it's producing.

@ivan-kocienski-gfsc ivan-kocienski-gfsc merged commit 8db4cb1 into main Oct 25, 2022
@ivan-kocienski-gfsc ivan-kocienski-gfsc deleted the ik-1407-record-not-found branch October 25, 2022 11:04
@kimadactyl
Copy link
Member

Confirmed working but only for events - will open new tickets for other errors

Screenshot 2022-10-31 at 11 46 07

Screenshot 2022-10-31 at 11 46 01

@kimadactyl
Copy link
Member

Ah its here already: #759

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.

[Bug]: #107 ActiveRecord::RecordNotFound: Couldn't find Event with 'id'=275583
4 participants