@KK,
There is a reporting form, which has some inputs, featuring a list of projects and a list of users. Sometimes it is necessary to generate report, covering all users and all projects (for accounting & etc). Submitting such a form I have found something you might be interested in.
If total number of submitted objects (id's of pages, for example) significantly exceeds max_input_vars limit in php.ini (usually 1000), then k_error is not triggered (as well as k_success, obviously). No messages after the form is submitted, page reloads as if nothing happened.
If total number of such POST elements is about 1000, then Couch fires a notice 'Security tokens do not tally for executing this action. Please try again.' and doesn't load the page.
I am sure, such kind of behavior makes it hard for debugging. (A silent '1000' limit in cms:pages and other functions is also arguable approach.
)
Increasing max_input_vars certainly helps.
So, it might be nicer to do some checks on that and if the number is about 1000 then some notice could be fired or something?
There is a reporting form, which has some inputs, featuring a list of projects and a list of users. Sometimes it is necessary to generate report, covering all users and all projects (for accounting & etc). Submitting such a form I have found something you might be interested in.
If total number of submitted objects (id's of pages, for example) significantly exceeds max_input_vars limit in php.ini (usually 1000), then k_error is not triggered (as well as k_success, obviously). No messages after the form is submitted, page reloads as if nothing happened.
If total number of such POST elements is about 1000, then Couch fires a notice 'Security tokens do not tally for executing this action. Please try again.' and doesn't load the page.
I am sure, such kind of behavior makes it hard for debugging. (A silent '1000' limit in cms:pages and other functions is also arguable approach.

Increasing max_input_vars certainly helps.
So, it might be nicer to do some checks on that and if the number is about 1000 then some notice could be fired or something?