Bug ID: 20566
Summary: Remove 'single' method from Koha::Objects
Change sponsored?: ---
Priority: P5 - low
QA Contact: testo...@bugs.koha-community.org
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 : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/