[Koha-bugs] [Bug 19974] Marking an item as 'lost' will not actually modify the current item (cataloguing/additem.pl)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 20 08:28:47 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19974

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74564|0                           |1
        is obsolete|                            |
  Attachment #74565|0                           |1
        is obsolete|                            |
  Attachment #74566|0                           |1
        is obsolete|                            |

--- Comment #55 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 74591
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74591&action=edit
Bug 19974: Marking an item as 'lost' in additem.pl will not modify the current
item

TEST PLAN:

    1) Log in with your superlibrarian account
    2) Borrow any book
    3) Visit your Checkouts page, and click 'Show Checkouts'
    4) Click on the item's barcode to visit the item's page
    5) On the item's page, click the 'Edit' button, and choose 'Edit items'
    6) In the items table, click the 'Actions->Edit' button of the item you
borrowed
    7) Mark that item as lost (it should be the first row of the form) and
click the button 'Save changes'
    8) Visit your Checkouts page. The item should still be there, despite
BZ12363 claiming it should've been automagically returned
        8.1) Your koha-log should also output a warning message:
'DBIx::Class::Storage::DBI::select_single(): Query returned more than one
row...'
        8.2) If you visit the item's page, the modification had no effect. It
should not be marked as lost.
    9) APPLY PATCH
    10) Start back from step 2), but this time, after marking the item as lost,
the item's page should
        reflect the change, and the item you borrowed should've been
automatically returned to the library

Signed-off-by: Jean-Manuel Broust <jean-manuel.broust at univ-lyon2.fr>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Amended: Using $item->{itemnumber} instead of new variable.

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


More information about the Koha-bugs mailing list