[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
Thu Aug 18 15:55:46 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29523
--- Comment #65 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #60)
> 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
1. and 3. were dealt with in that last patch.. you were right.. no longer used.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list