Summary: | Deleting related things causes data loss for old_reserves | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Architecture, internals, and plumbing | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, kebliss, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36101 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 30648 | ||
Bug Blocks: |
Description
Kyle M Hall (khall)
2024-03-18 14:46:21 UTC
I think this is the solution for bug 36101, but I am not sure about doubling up the data. We could imagine having a FK on deleteditems if we add the information on delete for example. (In reply to Katrin Fischer from comment #1) > I think this is the solution for bug 36101, but I am not sure about doubling > up the data. > We could imagine having a FK on deleteditems if we add the information on > delete for example. Kyle? :) (In reply to Katrin Fischer from comment #3) > Kyle? :) I was ready to write a against your suggestion when I decided you were correct and i just changed the see also (iirc) while forgetting about the reply box being populated. We'd need a hook of some kind to handle this either way. If we do it my way, it's a minimum of one hook firing. Doing it at "deletion" time, it's also a maximum of one hook firing :) (In reply to Kyle M Hall from comment #4) > (In reply to Katrin Fischer from comment #3) > > Kyle? :) > > I was ready to write a against your suggestion when I decided you were > correct and i just changed the see also (iirc) while forgetting about the > reply box being populated. We'd need a hook of some kind to handle this > either way. If we do it my way, it's a minimum of one hook firing. Doing it > at "deletion" time, it's also a maximum of one hook firing :) Ah! But hope you now I would not have minded if you had disagreed - it's about to find the best way forward :) |