Draft records accessible in public view cause Internal Server errors #2623
Labels
bug
Breaks something but is not blocking
dev: sentry
For PRs that are created to correct an error raised by Sentry.
f: public ui
Public interface, as opposed to the professional interface
p-Low
Low priority
p-Medium
Medium priority (to be solved within 1-2 years)
How it works
Sentry raises an internal server error if someone tries to load a record with
_draft:true
in the public UI because the document doesn't return atype
. See Sentry error IDRERO-ILS-163
.Following draft record has no
type
: https://bib.rero.ch/global/documents/2090554Improvement suggestion
It is very unlikely that someone tries to load a draft record in the public UI. This error is thus of very low priority.
The text was updated successfully, but these errors were encountered: