Bug 9170 - deleting a patron with holds leaves orphaned holds
Summary: deleting a patron with holds leaves orphaned holds
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-29 18:35 UTC by Nicole C. Engard
Modified: 2014-12-07 20:02 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2012-11-29 18:35:41 UTC
This is not based in any code evidence ... it's just a guess of mine.

I'm finding a lot of lines in the reserves table where there is no reservedate and no borrowernumber, but the found is still NULL.  I'm thinking that when the patron is deleted their holds aren't moved to the old_reserves table or deleted, just their borrowernumber is being NULLed out.

If this is the case, I think that the holds should be removed from the reserves table which should be the place for all current holds are stored.