Closed kmccurley closed 1 year ago
There are two places to do this:
I added code to fix the validation in the Meta class of compilation.py
but the UI is not very helpful because it is caused by a generic schema validation error:
I think I should also add code to check this earlier and give a more understandable error message. This would occur after we call parse_meta
in tasks.py
.
If an author uses
\addauthor[inst={2}]{Fester Bestertester}
but there is not a second affiliation, then it currently gives a 500 error. We need to validate that the values in inst correspond to actual indices in the affiliation array.