X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcgp_rule.html;h=5326587cb9c48586a2423774d074bca4008b2a16;hb=0fe2d918669fe77298f95335958edf596a5f9149;hp=f427b6ccfc2477eab019d2c668988eede984eea4;hpb=6f402df348017146e248ecaae2c71c0a9d708ea4;p=freeside.git diff --git a/httemplate/edit/process/cgp_rule.html b/httemplate/edit/process/cgp_rule.html index f427b6ccf..5326587cb 100644 --- a/httemplate/edit/process/cgp_rule.html +++ b/httemplate/edit/process/cgp_rule.html @@ -4,13 +4,19 @@ 'process_o2m' => [ { 'table' => 'cgp_rule_condition', - 'fields' => [qw( condition op params )], + 'fields' => [qw( conditionname op params )], }, { 'table' => 'cgp_rule_action', 'fields' => [qw( action params )], }, ], + 'noerror_callback' => sub { + my( $cgi, $object ) = @_; + my $error = $object->svc_export; + #shit, not a good place for error handling :/ + die $error if $error; + }, ) %> <%init>