Bug ID: 20566
           Summary: Remove 'single' method  from Koha::Objects
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
        QA Contact:

We're exposing ourselves to terrible bugs which dbix::class goes to lengths to
inform the developer about before they're added by circumventing the
protections built into dbic here.

By hard coding a 'rows => 1' into this method instead of just using the method
from DBIC we are ensuring the developer will never be informed of their
stupidity if they have not added any form or ordering to their database
clauses. As such, the order of the results returned and as such the result of
the 'single' call is now entirely random.

You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to