[MXS-3592] MaxCtrl object creation doesn't convert values to JSON Created: 2021-06-03  Updated: 2021-06-16  Resolved: 2021-06-16

Status: Closed
Project: MariaDB MaxScale
Component/s: maxctrl
Affects Version/s: 2.5.12
Fix Version/s: 6.0.0

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The parameters for the create commands are not converted from strings to their JSON equivalents. This mainly affects boolean values as they were sent as JSON strings, not JSON boolean values.

Since the alter commands to handle it correctly, a workaround to this is to first create the object and then alter the boolean parameters. This issue does not affect 2.5 as much as it does future releases where the configuration is done with the raw JSON values without first being converted into strings.


Generated at Thu Feb 08 04:22:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.