- Issue created by @Dev-man
- πΊπΈUnited States robphillips
Managed to replicate the issue by creating an image field inside a paragraph type and attaching the paragraph as a field on a node type. Doesn't seem to be related to roles/permissions. Rather whether or not the image field is nested (tree).
Patch works fine. I couldn't recall why
implode('_', $element['#parents'])
was used in the first place. Possibly to ensure each element name is totally unique, but that should always be the case because field names must be unique. Element name should be fully formed by the time the process hook is invoked. So I can't think of a reason not to use$element['#name']
here.Verified both non-nested and nested fields work as expected with patch. Committed.
-
Dim-dev β
authored b92834e0 on main
Issue #3375427 by Dim-dev: Fixes element name passed to file uploader...
-
Dim-dev β
authored b92834e0 on main
Automatically closed - issue fixed for 2 weeks with no activity.