[Koha-bugs] [Bug 12868] GetMemberDetails calls GetMemberAccountRecords incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 20 22:33:54 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12868

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to M. Tompsett from comment #5)
> (In reply to Frédéric Demians from comment #3)
> > Now, on HEAD:
> >    prove -v t/db_dependent/Members.t
> > fails ...

Nasty, I booted up my UNIMARC VM, updated to the latest origin/master, and ran
the prove. KABOOM!

Turns out my categories table only has 'BIB', but line 873 in C4/Members.pm is
trying to find 'S'. Which makes that variable undefined and a nasty kaboom!

Added S and PT. Retried. KABOOM! Branchcode issues.

Added CPL, MPL. Retried. Success. Okay.

Nothing applied. Success.
Both applies. Success.
Only 2 applied. Success.
Only 1 applied. Expected failure.

So, if you ensure that you have these Branch codes and Categories added, and
then attempt the test plans in comment #1 and comment #2, there should be no
problem.

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


More information about the Koha-bugs mailing list