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

Bug #1821409 reported by Remington Steed on 2019-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned
3.2
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) on 2019-03-22
Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
Bill Erickson (berick) wrote :
Changed in evergreen:
milestone: none → 3.3-rc
assignee: Bill Erickson (berick) → nobody
tags: added: pullrequest
Dan Wells (dbw2) on 2019-03-25
Changed in evergreen:
assignee: nobody → Dan Wells (dbw2)
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  Edit
Everyone can see this information.

Other bug subscribers