Formatting errors in table of contents result in generic error message #10385
Labels
Needs: Breakdown
This big issue needs a checklist or subissues to describe a breakdown of work. [managed]
Needs: Lead
Needs: Triage
This issue needs triage. The team needs to decide who should own it, what to do, by when. [managed]
Type: Bug
Something isn't working. [managed]
Problem
OL cannot handle tables of contents that contain three or more pipe characters per line. When trying to save such a malformed TOC, the save fails with the following generic error message:
Sorry. There seems to be a problem with what you were just looking at.
We should at least give an error message that lets the librarian know there was a formatting error in the TOC.
Reproducing the bug
* 1. | Foreword | Lili Elbe | 4
The page prevents you from pressing the save button and explains that you have to resolve formatting issues in the table of contents.
You can press save, but it leads to a generic error message. Any edits you made will be lost unless you navigate back and your browser hasn’t purged the page from its cache.
Context
Breakdown
Requirements Checklist
Related files
Stakeholders
Instructions for Contributors
The text was updated successfully, but these errors were encountered: