Menu

#31 Book prefill with invalid/non-existing ISBN

open
nobody
1
2008-09-29
2008-09-29
No

Book prefill with invalid/non-existing ISBN generates error with poor user experience:

Error shown in a subsequent page:
Error prefilling book by ISBN. Please correct ISBN and try again. org.sourceforge.vlibrary.exceptions.LibraryException: Record not found for request: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><SRW:request xmlns:SRW="http://www.loc.gov/zing/srw/">searchRetrieve<SRW:version>1.1</SRW:version><SRW:operation>searchRetrieve</SRW:operation><SRW:maximumRecords>1</SRW:maximumRecords><SRW:recordSchema>dc</SRW:recordSchema><SRW:query>asasasa</SRW:query></SRW:request></soapenv:Body></soapenv:Envelope>, response= <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><zs:searchRetrieveResponse xmlns:zs="http://www.loc.gov/zing/srw/"><zs:version>1.1</zs:version><zs:numberOfRecords>0</zs:numberOfRecords></zs:searchRetrieveResponse></soapenv:Body></soapenv:Envelope>

I suggest that such cases such just add a message on the current screen and allow the user to continue to input the book details manually.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB