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

slapos_jio: Fix default values for SoftwareRelease_requestHostingSubscription

parent 8732374f
No related merge requests found
import json import json
portal = context.getPortalObject() portal = context.getPortalObject()
if shared == "true": if shared == ["true", "1", 1]:
shared = True shared = True
if shared in ["false", "", None]: if shared in ["false", "", 0, "0", None]:
shared = False shared = False
if not title: if not title:
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <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>
<item> <item>
<key> <string>id</string> </key> <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