rubyforgood / rubyforgood/human-essentials

Error on logging out on static error pages

Open
#5,101 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Difficulty—Intermediate stale
Dominant language
Ruby
Stars
593
Forks
593
Avg merge
4d 22h
Merged PRs (30d)
41

Description

Summary

There is a logout link on the static error pages . Clicking it results in an error

Why fix?

If someone's managed to get to an error page (which is happening less and less frequently!) we want them to be able to sign out.

Details

To see this:
log in as org_admin1@example.com
then go to http://localhost:3000/500
click on "Log out"

Criteria for completion

  • provision of a logout button that works
  • automated tests that demonstrate it does

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by logging in as org_admin1@example.com, visiting http://localhost:3000/500, and clicking “Log out.” Then locate the static error-page logout handling and existing authentication tests; done means the logout button works from the 500 page and automated tests demonstrate it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.