Add check for button keys to FileWidget::process() #ajax processing

Created on 25 November 2017, over 6 years ago
Updated 3 February 2023, over 1 year ago

The FileWidget::process() should check element keys (upload_button and remove_button) before changing their #ajax settings since it can break widgets using FileWidget as their base. In particular VisualN β†’ uses file field and widget for VisualN file and widget respectively to allow users to upload data files to create visualizations.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
File moduleΒ  β†’

Last updated 3 days ago

Created by

πŸ‡·πŸ‡ΊRussia kpv

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024