openwisp / ansible-openwisp2

Ansible role that installs and upgrades OpenWISP.
https://openwisp.io/docs/dev/ansible/
BSD 3-Clause "New" or "Revised" License
474 stars 136 forks source link

USER NOTIFICATION SETTINGS #431

Closed momothefox closed 1 year ago

momothefox commented 1 year ago

when i try to adjust superusers notification settings After i click save. i get Bad Request (400)

nemesifier commented 1 year ago

Please check the logs and send us more details.

momothefox commented 1 year ago

@nemesisdesign openwisp2.log

[ERROR 2023-03-29 01:23:27,942] module: exception, process: 149009, thread: 139685431150400
The number of GET/POST parameters exceeded settings.DATA_UPLOAD_MAX_NUMBER_FIELDS.

[WARNING 2023-03-29 01:23:27,996] module: log, process: 149009, thread: 139685431150400
Bad Request: /admin/openwisp_users/user/xxxxxxxxxxxxxxxx-xxxxx-xxxx-xxxxxxxxxxxxx/change/

i have 16 organisations, it seems that there is a limit for the number of check boxes to mark/unmark in a page . i tested it from an org owner account it works without errors.

nemesifier commented 1 year ago

Increase DATA_UPLOAD_MAX_NUMBER_FIELDS. We need to improve the UI for the notification settings: https://github.com/openwisp/openwisp-notifications/issues/110 .