[Koha-bugs] [Bug 6137] Fix a little bug when userenv is null

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 27 16:09:47 CET 2012


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

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff
         AssignedTo|kyle.m.hall at gmail.com       |julian.maurice at biblibre.com

--- Comment #7 from Julian Maurice <julian.maurice at biblibre.com> 2012-01-27 15:09:47 UTC ---
Created attachment 7354
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7354
Unit tests for _GetCircControlBranch

These unit tests call _GetCircControlBranch for each value of syspref
CircControl, with and without a userenv.

Not sure about what should be returned when userenv is not set, undef or the
item branch (or maybe the patron branch)? Without the first patch it returns
undef, and the item branch with the patch applied.
Tests expect that it must returns the item branch when userenv is not set.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list