Skip to content

Inbox: deleting >1000 messages fails #2128

Open
@jderriks

Description

@jderriks

Current behavior / Resultado actual / Résultat actuel

Due to default max_input_vars=1000, selecting and deleting more than 1000 messages at a time fails without error on the screen but with a warning in the error_log.

Expected behavior / Resultado esperado / Résultat attendu

Deleting >1000 messages should be possible or A clear error should be shown.

Steps to reproduce / Pasos para reproducir / Étapes pour reproduire

On an inbox with more than 1000 messages, show all, select all and choose delete. It does nothing. In the error_log it shows:
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line ...

Chamilo Version / Versión de Chamilo / Version de Chamilo

1.11.x

Advice on stackoverflow: "can suggest not to extend the default value which is 1000 and extend the application functionality by serialising the request or send the request by blocks"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions