[Koha-bugs] [Bug 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Martin Renvoize changed: What|Removed |Added Keywords|release-notes-needed| -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Martin Renvoize changed: What|Removed |Added Resolution|--- |FIXED Status|Pushed to Master|RESOLVED --- Comment #25 from Martin Renvoize --- As this is an old and very stable API and this could be perceived as a breaking change I am not going to backport this one to 18.11.x series at this time.. please speak up if you disagree and would like it as I may be persuadable under my caveat of backporting API improvements. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Martin Renvoize changed: What|Removed |Added CC||martin.renvoize@ptfs-europe ||.com Keywords||release-notes-needed -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Nick Clemens changed: What|Removed |Added Status|Passed QA |Pushed to Master --- Comment #24 from Nick Clemens --- Awesome work all! Pushed to master for 19.05 -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Kyle M Hall changed: What|Removed |Added Attachment #79049|0 |1 is obsolete|| --- Comment #23 from Kyle M Hall --- Created attachment 83748 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83748=edit Bug 19945: Use CanItemBeReserved in ILSDI HoldItem instead of CanBookBeReserved. Signed-off-by: Kyle M Hall -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Kyle M Hall changed: 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Kyle M Hall changed: What|Removed |Added Attachment #79046|0 |1 is obsolete|| --- Comment #20 from Kyle M Hall --- Created attachment 83745 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83745=edit Bug 19945: ILSDI - Return the reason a reserve is impossible Currently, the ILDSI services HoldTitle and HoldItem always return a "NotHoldable" code is the reserve is impossible. We need to know why Test plan: - Apply this patch - Place a hold on a non reservable title using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldTitle_id=1_id=1_location=) - you should get the reason instead of NotHoldable, - Place a hold on a non reservable item using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldItem_id=1_id=1_id=1) - you should get the reason instead of NotHoldable, Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Kyle M Hall changed: What|Removed |Added Attachment #79047|0 |1 is obsolete|| --- Comment #21 from Kyle M Hall --- Created attachment 83746 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83746=edit Bug 19945: (follow-up) optimization and test correction The double call to CanItemBeReserved was pointless in the C4/Reserves.pm HoldItem, as CanBookBeReserved calls CanItemBeReserved and even returns that code. Additionally, the tests failed, because there were 5 tests not 4. TEST PLAN -- prove t/db_dependent/ILSDI_Services.t run koha qa test tools Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Kyle M Hall changed: What|Removed |Added Attachment #79048|0 |1 is obsolete|| --- Comment #22 from Kyle M Hall --- Created attachment 83747 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83747=edit Bug 19945: Add a test proving that using CanBookBeReserved in ILSDI::HoldItem is wrong. Signed-off-by: Kyle M Hall -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaud changed: What|Removed |Added Status|Failed QA |Signed Off --- Comment #19 from Alex Arnaud --- I've created Bug 21738. Turn this back to 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #18 from Alex Arnaud --- (In reply to Josef Moravec from comment #17) > When I try to add title level hold on biblio without items, I get this error: > > Can't use an undefined value as a HASH reference at > /home/vagrant/kohaclone/C4/ILSDI/Services.pm line 670 Got the same error on master. This should be fixed in an other bug imo. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Status|Signed Off |Failed QA --- Comment #17 from Josef Moravec --- When I try to add title level hold on biblio without items, I get this error: Can't use an undefined value as a HASH reference at /home/vagrant/kohaclone/C4/ILSDI/Services.pm line 670 -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #79049|1 |0 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #79048|1 |0 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #79047|1 |0 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #81372|0 |1 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #81374|0 |1 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added Attachment #81373|0 |1 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Josef Moravec changed: What|Removed |Added CC||josef.mora...@gmail.com Attachment #81371|0 |1 is obsolete|| -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #16 from Michal Denar --- Created attachment 81374 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81374=edit Bug 18591: Fix pluralization of type Signed-off-by: Nick Clemens Signed-off-by: Michal Denar -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #14 from Michal Denar --- Created attachment 81372 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81372=edit Bug 21435: Update two-column templates with Bootstrap grid: Tools part 3 This patch modifies several tools templates to use the Bootstrap grid instead of YUI. This patch also removes obsolete "text/javascript" attributes from
[Koha-bugs] [Bug 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #15 from Michal Denar --- Created attachment 81373 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81373=edit Bug 18591: Add missing schema file Signed-off-by: Nick Clemens Signed-off-by: Michal Denar -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Michal Denar changed: What|Removed |Added Attachment #79047|0 |1 is obsolete|| Attachment #79048|0 |1 is obsolete|| Attachment #79049|0 |1 is obsolete|| --- Comment #13 from Michal Denar --- Created attachment 81371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81371=edit Bug 21434: (follow-up) Switch two-column templates to Bootstrap grid: Tools part 2 This follow-up corrects CSS which was dependent on YUI-specific markup context. To test, apply the patch, regenerate the staff client CSS, go to Tools -> Calendar. - Click any date on the calendar - In the entry form the checkbox and radio button options should be styled correctly. Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Michal Denar -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Michal Denar changed: What|Removed |Added 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaud changed: What|Removed |Added Status|Failed QA |Needs Signoff --- Comment #12 from Alex Arnaud --- Hello, I've rebased the first two patches. Also i provide a third one that prove what Nick said is right and a fourth one that fix it. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #11 from Alex Arnaud --- Created attachment 79049 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79049=edit Bug 19945: Use CanItemBeReserved in ILSDI HoldItem instead of CanBookBeReserved. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaud changed: What|Removed |Added Attachment #75688|0 |1 is obsolete|| --- Comment #8 from Alex Arnaud --- Created attachment 79046 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79046=edit Bug 19945: ILSDI - Return the reason a reserve is impossible Currently, the ILDSI services HoldTitle and HoldItem always return a "NotHoldable" code is the reserve is impossible. We need to know why Test plan: - Apply this patch - Place a hold on a non reservable title using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldTitle_id=1_id=1_location=) - you should get the reason instead of NotHoldable, - Place a hold on a non reservable item using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldItem_id=1_id=1_id=1) - you should get the reason instead of NotHoldable, Signed-off-by: Mark Tompsett 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #10 from Alex Arnaud --- Created attachment 79048 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79048=edit Bug 19945: Add a test proving that using CanBookBeReserved in ILSDI::HoldItem is wrong. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaud changed: What|Removed |Added Attachment #75689|0 |1 is obsolete|| --- Comment #9 from Alex Arnaud --- Created attachment 79047 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79047=edit Bug 19945: (follow-up) optimization and test correction The double call to CanItemBeReserved was pointless in the C4/Reserves.pm HoldItem, as CanBookBeReserved calls CanItemBeReserved and even returns that code. Additionally, the tests failed, because there were 5 tests not 4. TEST PLAN -- prove t/db_dependent/ILSDI_Services.t run koha qa test tools Signed-off-by: Mark Tompsett 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #7 from Alex Arnaud --- (In reply to Nick Clemens from comment #6) > I don't think the second patch is quite right - CanBookBeReserved calls > CanItemBeReserved, but it might not be correct for a specific item > > Set a rule for 'No Holds Allowed' for an itemtype > Find a bib with no items or create on > Add an item with the disallowed item type > Attempt hold on item via ILSDI - Not allowed > Add a second item with a holdable itemtype > Attempt hold on the original unholdable item via ILSDI - Allowed? > > I think the call in 'Hold Item' to CanBookBeReserved is the extraneous one > unless I missed something > > I also note that neither of the routines mentioned check for 'On shelf holds > allowed' policy - filed as bug 20985 I agree. For further, it seems to me that HoldItem should call CanItemBeReserved only, even though it may not be the point of this bug. -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Nick Clemens changed: What|Removed |Added Status|Passed QA |Failed QA CC||n...@bywatersolutions.com --- Comment #6 from Nick Clemens --- I don't think the second patch is quite right - CanBookBeReserved calls CanItemBeReserved, but it might not be correct for a specific item Set a rule for 'No Holds Allowed' for an itemtype Find a bib with no items or create on Add an item with the disallowed item type Attempt hold on item via ILSDI - Not allowed Add a second item with a holdable itemtype Attempt hold on the original unholdable item via ILSDI - Allowed? I think the call in 'Hold Item' to CanBookBeReserved is the extraneous one unless I missed something I also note that neither of the routines mentioned check for 'On shelf holds allowed' policy - filed as bug 20985 -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #5 from Jonathan Druart --- Created attachment 75689 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75689=edit Bug 19945: (follow-up) optimization and test correction The double call to CanItemBeReserved was pointless in the C4/Reserves.pm HoldItem, as CanBookBeReserved calls CanItemBeReserved and even returns that code. Additionally, the tests failed, because there were 5 tests not 4. TEST PLAN -- prove t/db_dependent/ILSDI_Services.t run koha qa test tools Signed-off-by: Mark Tompsett 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Jonathan Druart changed: 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Jonathan Druart changed: What|Removed |Added Attachment #73351|0 |1 is obsolete|| Attachment #73352|0 |1 is obsolete|| --- Comment #4 from Jonathan Druart --- Created attachment 75688 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75688=edit Bug 19945: ILSDI - Return the reason a reserve is impossible Currently, the ILDSI services HoldTitle and HoldItem always return a "NotHoldable" code is the reserve is impossible. We need to know why Test plan: - Apply this patch - Place a hold on a non reservable title using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldTitle_id=1_id=1_location=) - you should get the reason instead of NotHoldable, - Place a hold on a non reservable item using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldItem_id=1_id=1_id=1) - you should get the reason instead of NotHoldable, Signed-off-by: Mark Tompsett 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 M. Tompsettchanged: What|Removed |Added Status|Needs Signoff |Signed Off CC||mtomp...@hotmail.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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #3 from M. Tompsett--- Created attachment 73352 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73352=edit Bug 19945: Follow up optimization and test correction The double call to CanItemBeReserved was pointless in the C4/Reserves.pm HoldItem, as CanBookBeReserved calls CanItemBeReserved and even returns that code. Additionally, the tests failed, because there were 5 tests not 4. TEST PLAN -- prove t/db_dependent/ILSDI_Services.t run koha qa test tools Signed-off-by: Mark Tompsett -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 M. Tompsettchanged: What|Removed |Added Attachment #70409|0 |1 is obsolete|| --- Comment #2 from M. Tompsett --- Created attachment 73351 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73351=edit Bug 19945 - ILSDI - Return the reason a reserve is impossible Currently, the ILDSI services HoldTitle and HoldItem always return a "NotHoldable" code is the reserve is impossible. We need to know why Test plan: - Apply this patch - Place a hold on a non reservable title using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldTitle_id=1_id=1_location=) - you should get the reason instead of NotHoldable, - Place a hold on a non reservable item using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldItem_id=1_id=1_id=1) - you should get the reason instead of NotHoldable, Signed-off-by: Mark Tompsett -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaudchanged: What|Removed |Added Patch complexity|--- |Small patch -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaudchanged: What|Removed |Added Status|ASSIGNED|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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 --- Comment #1 from Alex Arnaud--- Created attachment 70409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70409=edit Bug 19945 - ILSDI - Return the reason a reserve is impossible Currently, the ILDSI services HoldTitle and HoldItem always return a "NotHoldable" code is the reserve is impossible. We need to know why Test plan: - Apply this patch - Place a hold on a non reservable title using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldTitle_id=1_id=1_location=) - you should get the reason instead of NotHoldable, - Place a hold on a non reservable item using ILS-DI web service (http://koha-opac.example.org/cgi-bin/koha/ilsdi.pl?service=HoldItem_id=1_id=1_id=1) - you should get the reason instead of NotHoldable, -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaudchanged: What|Removed |Added Status|NEW |ASSIGNED -- 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 19945] ILSDI - Return the reason a reserve is impossible
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19945 Alex Arnaudchanged: What|Removed |Added Assignee|koha-b...@lists.koha-commun |alex.arn...@biblibre.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. 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/