From af8309c2b65c819b5963565ccac2ff35cddec265 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Mon, 18 Aug 2014 22:01:09 +0200 Subject: [PATCH] Quick fix to create slices with empty extra fields --- portal/actions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/portal/actions.py b/portal/actions.py index a2afbfc2..38af28c9 100644 --- a/portal/actions.py +++ b/portal/actions.py @@ -424,6 +424,10 @@ def create_slice(wsgi_request, request): for user in user_details_sfa: user_email = user['user_email'] + # XXX LOIC Quick fix because this is totally inconsistent + if not 'number_of_nodes' in request: + request['number_of_nodes']="" + # XXX We should create a slice with Manifold terminology slice_params = { 'slice_hrn' : hrn, -- 2.43.0