From: Loic Baron Date: Mon, 18 Aug 2014 20:01:09 +0000 (+0200) Subject: Quick fix to create slices with empty extra fields X-Git-Tag: myslice-1.0~4^2^2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=af8309c2b65c819b5963565ccac2ff35cddec265 Quick fix to create slices with empty extra fields --- 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,