Approve checkbox on challenge assignments page doesn't work

Description

Steps to Reproduce

  1. Log in as User A.

  2. Create a new moderated collection with an attached gift exchange.

  3. Open sign ups for the gift exchange.

  4. Sign up for your gift exchange.

  5. Log in as User B.

  6. Sign up for User A's gift exchange.

  7. Log in as User A.

  8. Close signups, run matching, and send out assignments.

  9. Log in as User B.

  10. Fulfill the assignment from A's gift exchange.

  11. Log in as User A.

  12. Click on "Assignments" in the sidebar of your exchange.

  13. Click on the "Open" tab.

  14. Check the "Approve" box next to User B's assignment.

  15. Press "Submit."

  16. Click on the "Open" tab.

What Should Happen

The only reason the assignment is marked as open/unfulfilled is because the work's collection item hasn't been approved yet. Approving it should move the assignment out of the "Open" tab and into the "Complete" tab.

What Happens

The assignment is still in the "Open" tab, and the collection item is still unapproved.

Assignee

Unassigned

Reporter

ticking instant

Roadmap

Challenges

Priority

Medium

Affects versions

Fix versions

None

Components

BackEnd

Difficulty

Easy

Milestone

Internal 0.9