[Koha-bugs] [Bug 9845] SIP tests : fix in 08checkin.t ("alert" field)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 15:57:26 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9845

--- Comment #3 from Adrien SAURAT <adrien.saurat at biblibre.com> ---
Well, my patch is actually design to correct the test named 'match leader
Checkin: Item not checked out', but your run seems to crash before that, on the
test named 'match leader Checkin: prep: check out item'.

You have a response beginning with "120NUN" and the test expects "121NNY".
Two differences then, the main one being 120 instead of 121 (the checkin
failed, and the AF field contains this message : Invalid Item.
Looks like your barcode is wrong or something like that ?!
Other difference, U instead of N for the "magnetic media" field.
I never encountered this U, and the unit test does not expect this, I don't
know yet why you're getting this response.

>From the 3M doc, about the "magnetic media" field:
1-char, fixed-length field: Y or N or U.
A 'Y' in this field indicates that this article is magnetic media and the SC
will then handle the security discharge accordingly.
A 'N' in this field indicates that the article is not magnetic media.
A 'U' indicates that the ACS does not identify magnetic media articles. ACS
vendors are encouraged to store and provide article magnetic media
identification.

The following test which fails on your side is the direct consequence of the
first fail. It's a checkout which can only success if the former checkin
attempt succeeded.

On the last failing test, we are working on the test modified by my patch.
Here, you get :  100NUY
The test awaits: 100YN[NY]
Two fields make the test field:
- resensitize is on N for you (but should this make the test fail? after all,
you can configure this in SIPconfig.xml for a reason)
- magnetic media, again you have U and I don't know why!! we should check the
code for that.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list