Skip to content

fix: pass string values for checkbox settings to fix 400 error#90

Merged
jo23sh merged 1 commit into
jo23sh:masterfrom
alexxwiz:fix/admin-checkbox-400-error
May 6, 2026
Merged

fix: pass string values for checkbox settings to fix 400 error#90
jo23sh merged 1 commit into
jo23sh:masterfrom
alexxwiz:fix/admin-checkbox-400-error

Conversation

@alexxwiz
Copy link
Copy Markdown
Contributor

@alexxwiz alexxwiz commented May 6, 2026

OCP.AppConfig.setValue was called with JavaScript booleans (true/false) for the hook checkboxes, but the Nextcloud provisioning API expects string values. The PHP backend also reads these as strings ('true'/'false'). This caused a 400 Bad Request on every checkbox toggle on Auto Groups 1.7.0.

OCP.AppConfig.setValue was called with JavaScript booleans (true/false)
for the hook checkboxes, but the Nextcloud provisioning API expects
string values. The PHP backend also reads these as strings ('true'/'false').
This caused a 400 Bad Request on every checkbox toggle.
@jo23sh jo23sh self-assigned this May 6, 2026
@jo23sh jo23sh added bug Something isn't working and removed bug Something isn't working labels May 6, 2026
@jo23sh jo23sh merged commit b7ccaa1 into jo23sh:master May 6, 2026
7 checks passed
@jo23sh
Copy link
Copy Markdown
Owner

jo23sh commented May 6, 2026

@alexxwiz Thank you so much for the contribution! I'll publish a bugfix release right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants