Add file upload lock handling to FileUploadHandler

Created on 22 September 2023, 9 months ago
Updated 10 June 2024, 5 days ago

Problem/Motivation

As part of πŸ“Œ [META] Modernise file upload logic Active we identified that file locking occurs in 3 places:

  • \Drupal\jsonapi\Controller\TemporaryJsonapiFileFieldUploader
  • \Drupal\file\Plugin\rest\resource\FileUploadResource
  • \Drupal\ckeditor5\Controller\CKEditor5ImageController

However, it doesn't occur in file_save_upload() which is currently the only code using FileUploadHandler.

Steps to reproduce

Proposed resolution

Add lock support to FileUploadHandler to make migrating those other services over easier.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.3 ✨

Component
File moduleΒ  β†’

Last updated 3 days ago

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024