[Koha-bugs] [Bug 28700] "Unblessed" method in Object.pm has blessed values for keys in some cases

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 28 09:56:10 CEST 2021


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

--- Comment #16 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Martin Renvoize from comment #15)
> Thus, my proposal would be
> 
> for my $k (keys %res) {
>   $res{$k} = "$res{$k}";
> }

What's the cost of that? What's the side-effects (casting float to string for
instance)?

I would like to keep a pragmatic and safe approach for backport. If we all
agree that the explicit ->discard_changes call is a simple and good idea, let's
go with that.

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


More information about the Koha-bugs mailing list