git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Quick fix to create slices with empty extra fields
[unfold.git]
/
portal
/
actions.py
diff --git
a/portal/actions.py
b/portal/actions.py
index
a2afbfc
..
38af28c
100644
(file)
--- 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']
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,
# XXX We should create a slice with Manifold terminology
slice_params = {
'slice_hrn' : hrn,