Edit Multiple: 500 error instead of useful messages when editing a work fails

Description

Steps to reproduce

Assuming you are logged in and have at least one work posted...

  1. Hi, username! > My Dashboard > Edit Works

  2. Check the box for at least one work to select it for editing

  3. Press "Edit"

  4. In the fandoms field, enter "M*A*S*H"

    • You can't use asterisks in tags, so this will cause editing to fail

  5. Press "Update All Works"

  6. Press "OK" to confirm that you want to edit the work

What happens

A 500 error

What should happen

A red flash message that says

There were problems editing some works:
The work [TITLE OF THE WORK YOU EDITED] could not be edited:

  • The following tags are invalid: M*A*S*H. Please make sure that your tags are less than 100 characters long and do not contain any invalid characters.

  • Name of a tag cannot include the following restricted characters: , ^ * < > { } = ` \ %

Assignee

ticking instant

Reporter

Sarken

Roadmap

Works

Priority

Medium

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Milestone

Internal 0.9
Configure