[Koha-bugs] [Bug 29523] Add a way to prevent embedding objects that should not be allowed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 29 11:58:29 CEST 2022


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

--- Comment #60 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
QA comments:

1. Koha::Object::_get_objects_class added but no tests, and I don't see where
it's used from.

2. +    return $self->{_restricted_branchcodes} if
exists($self->{_restricted_branchcodes});

Didn't we decide already that this was a wrong way to cache things?
You cannot invalidate the "cache".
Not considering blocker but worth raising it once again.

3. If I read the history correctly it seems that we don't longer need
Koha::Objects->search_limited

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


More information about the Koha-bugs mailing list