[
http://jira.magnolia.info/browse/MAGNOLIA-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Ringele updated MAGNOLIA-2305:
----------------------------------------
Component/s: templating
Fix Version/s: 3.7
(was: 4.0)
would be nice to get this working for 3.7, simplifies templates !
> 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, templating
> Affects Versions: 3.5.8
> Reporter: Gregory Joseph
> Assignee: Philipp Bracher
> Fix For: 3.7
>
>
> 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/
----------------------------------------------------------------