Fix automated rb-site installs with support-related defaults.
Review Request #6274 — Created Aug. 26, 2014 and submitted — Latest diff uploaded
When running
rb-site install
in an automated mode (using--noinput
),
things would fail if either--company
or--admin-email
were left out.
We were saving the default values ofNone
, but the support data
generation couldn't serialize these to strings.To get around this, some people tried posting empty strings (using
""
or
'""'
).We now normalize None or single/double quotes to an actual empty string.
Installed sites without these values.
Installed sites with
""
,''
,'""'
, and"''"
.