Angular fieldmapper editor "new" dialog displays values of recently edited object

Bug #1821409 reported by Remington Steed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
3.2
Fix Released
Undecided
Unassigned

Bug Description

In the Angular fieldmapper editor (used on eg2/ admin pages), the "new" dialog should always give you empty fields. But if you edit an object first, then click "New", the dialog acts like the "edit" dialog for the recently edited object, showing those values.

To replicate:

- Go to /eg2/en-US/staff/admin/acq/cancel_reason
- Click "New Cancel Reason"
- Confirm that dialog fields are empty
- Click "Cancel"
- Edit a row (by double clicking, or selecting and clicking "Edit Selected" in actions menu)
- Notice the populated values, such as the ID
- Click "Cancel"
- Click "New Cancel Reason" again
- Confirm that dialog fields are not empty, but contain values from previously edited object

Bill Erickson (berick)
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Revision history for this message
Bill Erickson (berick) wrote :
Changed in evergreen:
milestone: none → 3.3-rc
assignee: Bill Erickson (berick) → nobody
tags: added: pullrequest
Dan Wells (dbw2)
Changed in evergreen:
assignee: nobody → Dan Wells (dbw2)
Revision history for this message
Dan Wells (dbw2) wrote :

Looks good; thanks for your quick work, Bill. Pushed!

Changed in evergreen:
assignee: Dan Wells (dbw2) → nobody
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.