[Koha-bugs] [Bug 18179] Koha::Objects->find should not be called in list context

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 4 16:06:28 CEST 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #62879|0                           |1
        is obsolete|                            |
  Attachment #62880|0                           |1
        is obsolete|                            |

--- Comment #29 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 63106
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63106&action=edit
Bug 18179: Update existing calls

This patch updates the existing occurrences of ->find called in a list
context.
There are certainly others that are not easy to catch with git grep.
Test plan:
Confirm that the 4 modified scripts still works as expected.

We need this one ASAP in master to make sure we will not get other
side-effects of this kind and to catch possible uncaught occurrences
before the release.

Tested scripts changed by this patch, they work as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

bsoletes: 62657 - Bug 18179: Update existing calls

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


More information about the Koha-bugs mailing list