FS#75505 - [mailman3] REST API does not accept JSON boolean values in POST data.

Attached to Project: Community Packages
Opened by Kristian (klausenbusk) - Wednesday, 03 August 2022, 20:49 GMT
Last edited by David Runge (dvzrv) - Wednesday, 03 August 2022, 22:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I want to use Ansible to configure mailman3 mailing lists, but mailman3 doesn't support JSON boolean values, instead it expects them as strings (ex: "false" instead of just false). That isn't a big issue by itself, but I also want to show the difference between the old and new configuration, which gets messy when the API expects booleans as strings but return them as JSON booleans.

Any chance the upstream fix could be backported? :) https://gitlab.com/mailman/mailman/-/merge_requests/949

Additional info:
* package version(s): 3.3.5-5
* link to upstream bug report, if any: https://gitlab.com/mailman/mailman/-/issues/970
This task depends upon

Closed by  David Runge (dvzrv)
Wednesday, 03 August 2022, 22:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with mailman3 3.3.5-6

Loading...