'View Record' link gives 404 for existing records
Closed this issue · 4 comments
For certain records, see for example:
http://bibsoup.net/acka47/publications_by_adrian
and then the link that should work:
http://bibsoup.net/acka47/publications_by_adrian/bergmann-2011-opendata
but BibServer is returning a 404.
The record has a valid cid should be returned in
https://github.com/okfn/bibserver/blob/master/bibserver/web.py#L398
-- but isn't.
Hmm, I changed those recently so that records would be URLed based on their collection. It is probably a problem of having hyphens in the ID, I thought that would be OK in a terms search but perhaps not.
How about viewing records based on the UIDs?
It used to fall back to UUID if CID is not present. But if there are CIDs, we should make it work with them because people expect to be able to find their records with the IDs they provided.