- π³πΏNew Zealand quietone
In #8 where a committer explained how this should no happen in core and to progress this steps to reproduce are needed. They are to be added to the issue summary.
Since we need more information to move forward with this issue, I am setting the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
- πΈπ°Slovakia coaston
Hi,
It is very odd. We have tested the patch and asked you to push it to production because it resolves our reported issues and you decided to close it and postpone instead??
- π³πΏNew Zealand quietone
@coaston, In order for a change to made we need to know how to reproduce the problem on Drupal core so that a test can be written. A core maintainer asked for that 3 years ago and it has not been supplied. If you can do that, it would be very helpful. Add the steps to the Issue Summary, in the 'steps to reproduce section' and set the status to Active.
For background, here are several steps, or gates, that an issue must pass before it is marked RTBC and considered for commit. For most issues following step 10 in the Review a patch or merge request β task of the Contributor guide β is sufficient. The complete list of core gates β has more topics. Also, check the tags on the issue and make sure they are complete.
- π¦πΊAustralia jaydee1818 Melbourne
I experienced this issue today.
I'm using Drupal v9.5.3 running on PHP 8.1. I am also using the latest version of the Conditional Fields module (v4.0.0-alpha2).
To replicate, install the module, go to a content type and click on the `Manage Dependencies` tab. For me, I added a dependency on one filled to be visible when another field is `filled`. Then click "Add dependency". Like so:
On the confirmation page, simply click `Save settings` to see the error:
- π¦πΊAustralia jaydee1818 Melbourne
I can also confirm that the patch at #2 squashes the error message.
- Status changed to Closed: works as designed
over 1 year ago 4:41am 2 March 2023 - π¦πΊAustralia dpi Perth, Australia
Reproduced error with conditional field multicardinality File control field, after editing a row and saving.
This looks like a bug with conditional fields.
\Drupal\conditional_fields\Form\ConditionalFieldEditForm::getDummyField
. Its passing a singular form structure when the widget rightfully expects a multi form structure.I think this should be fixed in π Undefined offset error in FileWidget and ImageWidget Active .