Show friendly error for bad MARC start position
Bug #595371 reported by
Anand Chitipothu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Library |
In Progress
|
Medium
|
Edward Betts |
Bug Description
/show-marc is raising internal errors when the MARC content is invalid. It should rather display an error message or 404.
http://
It should also handle the bad ranges. For example, http://
Changed in openlibrary: | |
assignee: | nobody → Edward Betts (edwardbetts) |
milestone: | none → general-bucket |
importance: | Undecided → High |
Changed in openlibrary: | |
status: | New → In Progress |
tags: | added: marc |
Changed in openlibrary: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I added a workaround for this example:
http:// openlibrary. org/show- marc/childrensr hymesc00ford_ meta.mrc: 0:1192
It now redirects to here:
http:// openlibrary. org/show- records/ ia:childrensrhy mesc00ford
See the code for full details.