Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Clicking "Remove" on an added file does nothing. Seems like removeItemSubmit()
now needs a data-row-id to trigger removal. This is not passed in by the FileBrowserWidget when submitting the removal request.
Comment | File | Size | Author |
---|---|---|---|
#5 | fix_removing_entities_2786851-1.patch | 959 bytes | reekris |
#2 | fix_removing_entities_2786851.patch | 963 bytes | reekris |
Comments
Comment #2
reekris CreditAttribution: reekris commentedHere is a patch that adds the row id when submitting the Remove request, which seems to fix the issue for me.
Comment #3
reekris CreditAttribution: reekris commentedComment #4
reekris CreditAttribution: reekris commentedComment #5
reekris CreditAttribution: reekris commentedI was using the wrong value for the row id. Here is a new patch
Comment #6
reekris CreditAttribution: reekris commentedComment #7
samuel.mortensonSmall nitpick - code standards call for two spaces per tab. Other than that this fixes the bug for me, so marking as RTBC.
Comment #8
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedFixed coding standards and committed. Thanks!