AutoGrid helper for displaying OU fields assumes null not possible

Bug #926302 reported by Lebbeous Fogle-Weekley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned

Bug Description

Evergreen master:

If you're using AutoGrid to deliver an interface for a given class, and that class has aou-linked fields that can potentially be null, and if you use the helper function orgUnitGetter in the AutoGrid markup like so:

<thead>
  <tr field="maybe_lib" get="openils.widget.AutoGrid.orgUnitGetter"></tr>
</head>

then execution will stop whenever the orgUnitGetter() encounters a null value, when it should just return an empty string.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/senator/autogrid-org-unit-getter

Tags: pullrequest
Changed in evergreen:
status: New → In Progress
Changed in evergreen:
status: In Progress → New
milestone: 2.2.0alpha2 → 2.2.0beta1
Revision history for this message
Mike Rylander (mrylander) wrote :

Picked into master.

Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.