Details
-
Bug
-
Resolution: Solved By
-
Major
-
None
-
12.2
-
None
-
Unknown
-
N/A
-
N/A
-
Description
To reproduce:
{{velocity}} #set ($props = $services.user.properties) #set ($discard = $props.setFirstName('David1')) #set ($discard = $props.setDisplayHiddenDocuments(false)) #set ($discard = $props.save()) {{/velocity}}
The issue is that we're trying to set a boolean into a xproperty number field (0 = false, 1 = true). We need to perform the conversion.
Attachments
Issue Links
- is related to
-
XWIKI-18162 Setting a boolean configuration property with a Boolean object is failing
- Closed