Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.9
-
None
-
Unknown
-
N/A
-
N/A
-
Pull Request accepted
-
Description
When saving an edit using the In-place WYSIWYG editor, form data is serialized using comma-separated values when a field has several values, instead of repeating the field name.
You can notice this with the xaction parameter on the saving request, which has three values separated with comma. A fix for this ticket will repeat the xaction parameter for each value instead.
This is not an issue for XWiki standard but this behavior can break some customization relying on custom fields put in the button action area. Such customization is not supported and support for them should be designed properly in a future development , but it is worth using a proper FormData object when serializing form data, so we can rely on standard serialization provided by browsers.