MT#16121 PUT /api/callforwards/id json-hal response broken

+due to optimisations in hal_from_item
+journal affected as well, thats how we found this
+so the last failing journal testcase should be fixed

Change-Id: I33824cc92c4a4895d2dd3afe8bd963f442f556f5
changes/86/4886/3
Rene Krenn 9 years ago
parent 214977a421
commit 45b0f85705

@ -25,7 +25,7 @@ sub get_form {
sub hal_from_item {
my ($self, $c, $item, $form) = @_;
my $type = "callforwards";
my $prov_subs = $item->provisioning_voip_subscriber;
die "no provisioning_voip_subscriber" unless $prov_subs;
@ -245,6 +245,7 @@ sub update_item {
}
}
$item->discard_changes;
return $item;
}

Loading…
Cancel
Save