[Koha-bugs] [Bug 22461] Regression in #20287: LDAP user replication broken with mapped extended patron attributes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 24 22:55:41 CEST 2019


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

--- Comment #20 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Martin Renvoize from comment #12)
> Jonathan isn't around much at the moment so Katrin asked me to check in
> here. I believe Jonathans last followup was somewhat flawed (looks like a
> copy paste issue).

Martin, I tried to reuse the previous code to prevent other regressions.
But it seems I left a 'grep'. The code was:
-    my $new_member = { map { join(' ', at columns) =~ /$_/ ? ( $_ => $data{$_} ) 
: () } keys(%data) } ;

So, I am now wondering: should not you test 'exists' instead of 'defined' in
your code?

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


More information about the Koha-bugs mailing list