[Koha-bugs] [Bug 23095] New: Circulation rules not displayed (empty vs null)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 11 17:44:02 CEST 2019


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

            Bug ID: 23095
           Summary: Circulation rules not displayed (empty vs null)
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 18925
  Target Milestone: ---

>From the following commit:
  commit d1303ca834dd0b08fc1d44476cfbbb8b729b6165
  Bug 18925: (follow-up) Fix null/empty behavior

The global test must have been adjusted as well to catch empty strings.

Actually we are expecting the plugin to return undef but the template variable
contains an empty string.

So the test should only be [% IF var != '' %] instead of [% IF var.defined &&
var != '' %] but I prefer to keep it as it for now.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18925
[Bug 18925] Move maxissueqty and maxonsiteissueqty to circulation_rules
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list