Two admin banners can be set to active at the same time

Description

Steps to reproduce

  1. Log in as admin

  2. Banners > New Banner

  3. Fill in banner text

  4. Check "Active"

  5. Press "Create banner"

  6. Follow "New Banner"

  7. Repeat steps 3-5

What happens

The second banner replaces the first, which is as it should be. But it does not actually change the first banner to inactive, i.e. if you look at https://test.archiveofourown.org/admin/banners, both have their "Active" button looking pressed, and if you follow the link to edit the first banner, the "Active" box is still checked.

What should happen

The first banner should be deactivated.

Notes

Editing the first banner does not make it replace the second one, so this isn't particularly dangerous, just confusing.

Assignee

Unassigned

Reporter

Sarken

Roadmap

Admin

Priority

Low

Affects versions

Fix versions

None

Components

BackEnd

Difficulty

Medium

Required Access Level

Admin

Milestone

Internal 0.9
Configure