Challenge: Cannot delete when JavaScript is disabled

Description

What steps will reproduce the problem?

  1. With JavaScript disabled, log in

  2. Browse > Collections > New Collection

  3. Enter required information

  4. For “Type of challenge, if any,” choose either a Gift Exchange or a Prompt Meme

  5. Submit the form

  6. Submit the challenge settings form to accept default challenge settings

  7. On either the Challenge Settings or Profile page, press “Delete Challenge”

What happens:

A 404 error.

What should happen:

It should take me to a deletion confirmation page, like deleting a collection without JavaScript does. The page should have the h2 heading “Delete Gift Exchange” or “Delete Prompt Meme” and the yellow caution notice, “Are you sure you want to delete the challenge from the collection Collection Title? All sign-ups, assignments, and settings will be lost. (Works and bookmarks will remain in the collection.)” The submit button should say “Yes, Delete Challenge.”

(You can basically steal the template from the collections/confirm_delete.html.erb file.)

Activity

Show:
Sarken
June 5, 2020, 6:13 AM

Disabled JavaScript and attempted to delete a gift exchange challenge and then a prompt meme challenge. Both were successful and I didn’t see any issues with the text.

cosette
June 8, 2020, 6:38 PM

disabled javascript in chrome and tried to delete a gift exchange, it worked fine!

Assignee

teyla

Reporter

Sarken

Roadmap

Challenges

Priority

High

Affects versions

Fix versions

Components

BackEnd
FrontEnd

Difficulty

Medium

Milestone

Internal 0.9
Configure