[Koha-bugs] [Bug 33885] Get HTTP 500 when retrieving orders created by a non-existent (deleted) user

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 8 00:01:11 CEST 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com
  Text to go in the|                            |This fixes an issue that
      release notes|                            |prevents the receiving of
                   |                            |items where the user who
                   |                            |created the order has been
                   |                            |deleted. When clicking on
                   |                            |'Receive' for an item, this
                   |                            |error was displayed:
                   |                            |"Something went wrong when
                   |                            |loading the table.
                   |                            |500:
                   |                            |Internal Server Error."

--- Comment #5 from David Nind <david at davidnind.com> ---
Testing notes (using KTD):

1. Edited user Henry Acevedo: set permissions so that Henry is a
superlibrarian, change username (to Henry) and password (Policy10) so that you
can log is as Henry.

2. Login as Henry and:
   - create a basket
   - add an item to the basket
   - close the basket

3. Login as user koha.

4. Delete the Henry Acevedo user.

5. Go to receive the order - when selecting 'Receive' in the table that lists
the items ordered, you get this pop up error:
"Something went wrong when loading the table.
500: Internal Server Error."

6. Apply the patch, refresh the page listing the items to receive, click
'Receive' ==> the receive window is now displayed without any errors.

Reference:
- IRC chat on how to replicate the issue:
https://irc.koha-community.org/koha/2023-06-07#i_2490125

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


More information about the Koha-bugs mailing list