- π¦πΉAustria sicher
Does not work for me on views with many displays, with
max_input_vars = 5000
or even10000
.On "smaller" views I can press "Save Translation" but get:
Status message
German translation was not added. To add a translation, you must modify the configuration.PHP 8.2.6, Drupal 10.0.9
- Status changed to Postponed: needs info
11 months ago 6:32am 3 April 2024 - π³π±Netherlands Lendude Amsterdam
On a View with about 40 displays but not that many fields I have 8791 input vars, so hitting 10000 doesn't seem impossible, for me it also needed more than 256M of memory to actually load the form in the first place....
If you add something like
if (!empty($input)) { var_dump(count($input, COUNT_RECURSIVE)); die(); }
to
\Drupal\Core\Form\FormBuilder::buildForm
after $input has been build and then submit the form you can get an indication if this is the problem.Either way, we need better steps to reproduce this, because for most Views it works just fine. So for this to be an issue other than #1565704: Core interfaces can go over max_input_vars β , please provide steps to reproduce this with a View that has less than the max_input_vars but still won't save and doesn't give an error message.