Boolean checkboxSwitch properties are not converted properly
------------------------------------------------------------
Key: MAGNOLIA-2305
URL: http://jira.magnolia.info/browse/MAGNOLIA-2305
Project: Magnolia
Issue Type: Bug
Components: admininterface, gui
Affects Versions: 3.5.8
Reporter: Gregory Joseph
Assignee: Philipp Bracher
Fix For: 4.0
If I have a control named {{hideTitleOnPage}} and the following properties:
{noformat}
controlType: checkboxSwitch
type: Boolean
{noformat}
then the property is effectively saved as a string.
The problem is probably related to how the generated html looks like:
{code}<input type="hidden" name="mgnlSaveInfo"
value="hideTitleOnPage_SWITCH,Boolean,0,0,0" />
<input type="hidden" name="hideTitleOnPage" id="hideTitleOnPage" value="true" />
<input type="hidden" name="mgnlSaveInfo" value="hideTitleOnPage,String,0,0,0" />
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------