After discovering the cause of that problem in #266960, I sneaked around all this functions and I was doing tests with a views filter form. I discovered this issue observing the "cache" table, since the hs_form_build_id was not disappearing after submitting the filter.
The #submit function does not affect in filter view, I had tested it.
The bad of this is that the "cache" table can get very big, if you have a great quantity of users, views filters allowed for anonymous users, web crawlers that do searching in your site, and many other situations, lowering performance considerably.
Comments
Comment #1
wim leersAre you sure? Then this is a Drupal core bug, because:
Comment #2
wim leersClosing while cleaning up the issue queue. Feel free to reopen.