Closed Bug 1096435 Opened 11 years ago Closed 11 years ago

Clone task data is permanently saved under /create

Categories

(Mozilla QA Graveyard :: One and Done, defect)

Version 2
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rbillings, Unassigned)

Details

Attachments

(1 file)

If a user has visited the clone task page, all of the cloned task data is saved on /create. If the user does not choose to create the cloned task, the data should not be saved. 1) view task detail 2) click clone task 3) return to available tasks [or any other page] 4) click create task button or go to /create via the header expected: create task page with blank fields actual: create task page is filled with cloned task data - data is preserved after leaving /create, after logging out, using a different browser, etc.
This bug also manifests as a different task being presented when editing an existing task. The patch I am attaching addresses both issues.
Commit pushed to master at https://github.com/mozilla/oneanddone https://github.com/mozilla/oneanddone/commit/54cb2c0296a781f2ace68e76f8ce0904dd42fa1d Bug 1096435 - Clone task data is permanently saved under /create Fix code to not set view.initial but rather to return the proper kwargs for the form
This has been fixed and pushed to dev and stage.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Verified on staging
Verified on prod
Status: RESOLVED → VERIFIED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: