[Koha-bugs] [Bug 12555] The DelItem subroutine should be called on canceling a receipt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Aug 17 21:47:26 CEST 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
                 CC|                            |katrin.fischer at bsz-bw.de

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
It worked nicely in my tests, but makes one of the tests fail in my database:

$ perl t/db_dependent/Acquisition/CancelReceipt.t
1..2
not ok 1 - Create items on receiving: 0 item exist after cancelling a receipt
#   Failed test 'Create items on receiving: 0 item exist after cancelling a
receipt'
#   at t/db_dependent/Acquisition/CancelReceipt.t line 70.
#          got: '1'
#     expected: '0'
DBD::mysql::st execute failed: Duplicate entry '4126' for key 'PRIMARY' at
/home/katrin/kohaclone/C4/Acquisition.pm line 1317.
DBD::mysql::st execute failed: Duplicate entry '4126' for key 'PRIMARY' at
/home/katrin/kohaclone/C4/Acquisition.pm line 1317.
# Looks like you planned 2 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.

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


More information about the Koha-bugs mailing list