Bugs: Browse | Submit New | Admin

[#10972] "keeping" a book with invalid isbn generates error and won't add

Date:
2007-05-21 14:56
Priority:
4
Submitted By:
Sarah Ficke (hydecat)
Assigned To:
Cathal Mc Ginley (cathalmagus)
Category:
Library Manager
State:
Open
Summary:
"keeping" a book with invalid isbn generates error and won't add

Detailed description
When you do a title search and click on a book with invalid isbn it gives you the option to "keep" the book
but change the number, but when I click "keep" it gives an error: Couldn't add the book: undefined method
`[]=' for nil:NilClass
It would be great if we could choose to keep the book and change the isbn as we want to!

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-08-15 07:05
Sender: Cathal Mc Ginley

This is improved in r1081. Now doesn't complain in the (common)
case when there is no ISBN.
Date: 2009-03-04 23:36
Sender: Cathal Mc Ginley

Tested in 0.6.4b1, it is possible to keep books with their invalid
ISBNs. However it does not yet distinguish between empty, malformed
(wrong length, for example) and invalid ISBNs.

Also, a simple case would not complain if there was no ISBN and
the publication date was before 1970 (when ISBN was
standardized).
Date: 2007-09-23 06:52
Sender: Cathal Mc Ginley

I have confirmed this behaviour as a regression. Alexandria 0.6.1
allowed books with no ISBN or invalid ISBN, the current SVN release
does not.

This is currently a high-priority issue, and I will work towards
a useful general-purpose solution (such that invalid numbers
are not listed as ISBN, for example).

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
summary"keeping" a book with invalid isbn generates error and won't add2009-08-15 07:05cathalmagus
artifact_group_idNone2009-03-04 23:36cathalmagus
category_idNone2009-03-04 23:36cathalmagus
assigned_tonone2009-03-04 23:36cathalmagus
summary"keeping" a book with invalid isbn generates error and won't add2009-03-04 23:36cathalmagus
summary"keeping" a book with invalid isbn generates error and won't add2007-09-23 06:52cathalmagus
priority32007-09-23 06:52cathalmagus
resolution_idNone2007-09-23 06:52cathalmagus