Commit 13765da9 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Fix default values for SoftwareRelease_requestHostingSubscription

parent 8732374f
import json
portal = context.getPortalObject()
if shared == "true":
if shared == ["true", "1", 1]:
shared = True
if shared in ["false", "", None]:
if shared in ["false", "", 0, "0", None]:
shared = False
if not title:
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>title, text_content="", software_type=None, shared=False, computer_guid=None, sla_xml=None</string> </value>
<value> <string>title, text_content="", software_type=None, shared=False, computer_guid=None, sla_xml=""</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment