Wishlist: add error msg when searching by ID

Bug #564026 reported by Dave Brown on 2010-04-15
This bug affects 4 people
Affects Status Importance Assigned to Milestone

Bug Description

In the staff client, Cataloging -> Retrieve record by Record ID
Enter a non-valid ID number
Instead of getting an error alert, you get a blank record loading screen in OPAC view

Could an error message (ie: XYZ not found) be added?

Still affects EG 1.6


James Fournie (jfournie) on 2010-06-11
Changed in evergreen:
importance: Undecided → Wishlist
James Fournie (jfournie) on 2010-09-13
Changed in evergreen:
status: New → Triaged
Sarah Childs (sarahc) wrote :

Affects 2.1

Ben Shum (bshum) wrote :

Forwarding bug details from a newer report by paxed on the same issue:

Staff client -> Cataloging -> Retrieve Title via database ID -> Enter a non-existent ID.

If you entered a numeric value, EG will pop up a javascript error "Error in bib_brief_overlay(blahblah): TypeError: params.mvr.doc_id is not a function

If you enter "123xxx", you get a "Bad Request"

If you enter "xxx" or a negative number, you'll get the results page, but with no data. No errors either.

Ideally this should pop up a window "foo not found", like what Retrieve title by TCN does.

Changed in evergreen:
status: Triaged → Confirmed
Michelle Purcell (purcellm05) wrote :

I am sorry, can someone change back the status to Triaged. I mistakenly changed it to "confirmed." Thanks!

Changed in evergreen:
status: Confirmed → Triaged
status: Triaged → Confirmed
Remington Steed (rjs7) wrote :

Also affects 3.0.0 web client. The behavior is similar to Paxed's description in comment #2:

- Search nonexistent numerical ID:

    JS Console shows "Can't call method "marc" on an undefined value at /usr/local/share/perl/5.14.2/OpenILS/Application/Cat.pm line 512."

- Search "123xxx":

    "Bad Request" error

- Search "xxx" or negative number:

    JS Console shows several PCRUD errors.

Terran McCanna (tmccanna) wrote :

Confirmed still loads an incomplete catalog page rather than showing an error in web staff client 3.2.3.

Changed in evergreen:
importance: Wishlist → Low
tags: added: cataloging
removed: wishlist
tags: added: webstaffclient
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers