Revert "LP#1660059 - Allow for undef value for A/T Processing Group Context Field"
authorChris Sharp <csharp@georgialibraries.org>
Tue, 31 Jan 2017 20:43:20 +0000 (15:43 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 31 Jan 2017 20:43:20 +0000 (15:43 -0500)
This reverts commit 9636eab1103b69b52d276ea6884bed3b8d549dee.

Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger.pm

index c5bc93e..920175b 100644 (file)
@@ -777,9 +777,6 @@ sub grouped_events {
 
             # get the grouping value for the grouping object on this event
             my $ident_value = $node->$group_field();
-            unless($ident_value) { # this can legitimately be undef, so we need to handle it if so
-                $e->update_state('invalid');
-            }
             if(ref $ident_value) {
                 my $ident_field = $ident_value->Identity; 
                 $ident_value = $ident_value->$ident_field()