[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Frédéric Demianschanged: What|Removed |Added Status|Pushed to Master|Pushed to Stable CC||frede...@tamil.fr --- Comment #12 from Frédéric Demians --- Pushed in 16.05. Will be in 16.05.02. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Kyle M Hallchanged: What|Removed |Added Status|Passed QA |Pushed to Master CC||k...@bywatersolutions.com --- Comment #11 from Kyle M Hall --- Pushed to master for 16.11, thanks Tomas, Jonathan! -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Marc Véronchanged: What|Removed |Added CC||ve...@veron.ch -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #10 from Tomás Cohen Arazi--- (In reply to Jonathan Druart from comment #9) > (In reply to Jonathan Druart from comment #8) > > Created attachment 53056 [details] [review] [review] > > Bug 16819: Remove use of map > > > > Signed-off-by: Jonathan Druart > > Tomas or RM: feel free to obsolete this patch if you want to. I like either, passing the ball to the RM :-D -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Tomás Cohen Arazichanged: What|Removed |Added Blocks||14642 See Also|https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=14642 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14642 [Bug 14642] Add logging of hold modifications -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Jonathan Druartchanged: What|Removed |Added CC||jonathan.dru...@bugs.koha-c ||ommunity.org --- Comment #9 from Jonathan Druart --- (In reply to Jonathan Druart from comment #8) > Created attachment 53056 [details] [review] > Bug 16819: Remove use of map > > Signed-off-by: Jonathan Druart Tomas or RM: feel free to obsolete this patch if you want to. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #8 from Jonathan Druart--- Created attachment 53056 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53056=edit Bug 16819: Remove use of map Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Jonathan Druartchanged: What|Removed |Added Attachment #53030|0 |1 is obsolete|| Attachment #53031|0 |1 is obsolete|| --- Comment #6 from Jonathan Druart --- Created attachment 53054 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53054=edit Bug 16819: Unit tests for C4::Members::DelMember The C4::Members::DelMember function actually deletes reserves, and it is not properly tested. To test: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off Sponsored-by: NEKLS Signed-off-by: Hector Castro Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #7 from Jonathan Druart--- Created attachment 53055 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53055=edit Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds This patch makes C4::Members::DelMember proprely use Koha::Holds to delete holds. This is important as holds actions are started to be logged. To reproduce: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off :-D Sponsored-by: NEKLS Signed-off-by: Hector Castro All tests pass successfully Signed-off-by: Jonathan Druart -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Jonathan Druartchanged: What|Removed |Added Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #5 from Jonathan Druart--- Comment on attachment 53031 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53031 [SIGNED-OFF]Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds Review of attachment 53031: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html=16819=53031) - ::: C4/Members.pm @@ +1662,5 @@ > #warn "in delmember with $borrowernumber"; > return unless $borrowernumber;# borrowernumber is mandatory. > +# Delete Patron's holds > +my @holds = Koha::Holds->search({ borrowernumber => $borrowernumber }); > +map { $_->delete } @holds; I'd have written that `$_->delete for @holds`. Since map is supposed to return something I guess it can perturb a new developer. Do you agree? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Héctor Eduardo Castro Avaloschanged: What|Removed |Added CC||hector.hecax...@gmail.com Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Héctor Eduardo Castro Avaloschanged: What|Removed |Added Attachment #52930|0 |1 is obsolete|| --- Comment #4 from Héctor Eduardo Castro Avalos --- Created attachment 53031 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53031=edit [SIGNED-OFF]Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds This patch makes C4::Members::DelMember proprely use Koha::Holds to delete holds. This is important as holds actions are started to be logged. To reproduce: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off :-D Sponsored-by: NEKLS Signed-off-by: Hector Castro All tests pass successfully -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Héctor Eduardo Castro Avaloschanged: What|Removed |Added Attachment #52929|0 |1 is obsolete|| --- Comment #3 from Héctor Eduardo Castro Avalos --- Created attachment 53030 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53030=edit [SIGNED-OFF]Bug 16819: Unit tests for C4::Members::DelMember The C4::Members::DelMember function actually deletes reserves, and it is not properly tested. To test: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off Sponsored-by: NEKLS Signed-off-by: Hector Castro -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Tomás Cohen Arazichanged: What|Removed |Added See Also||https://bugs.koha-community ||.org/bugzilla3/show_bug.cgi ||?id=14642 -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Tomás Cohen Arazichanged: What|Removed |Added Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 Tomás Cohen Arazichanged: What|Removed |Added Assignee|gmcha...@gmail.com |tomasco...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #2 from Tomás Cohen Arazi--- Created attachment 52930 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52930=edit Bug 16819: C4::Members::DelMember should use Koha::Holds to delete holds This patch makes C4::Members::DelMember proprely use Koha::Holds to delete holds. This is important as holds actions are started to be logged. To reproduce: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off :-D Sponsored-by: NEKLS -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 16819] C4::Members::DelMember should use Koha::Holds to delete holds
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16819 --- Comment #1 from Tomás Cohen Arazi--- Created attachment 52929 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=52929=edit Bug 16819: Unit tests for C4::Members::DelMember The C4::Members::DelMember function actually deletes reserves, and it is not properly tested. To test: - Apply the patch - Run: $ prove t/db_dependent/Members.t => SUCCESS: Tests pass - Sign off Sponsored-by: NEKLS -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/