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.
userA edits page1
userB edits page2
uploads a file
saves node
get following message
The content on this page has either been modified by another user, or you have already submitted modifications using this form. As a result, your changes cannot be saved.
file upload could/should check the concurrent editing before allowing to upload ??
Comments
Comment #1
GiorgosKNOTE:
not that this produces file uploads that still exist in database/file system
but can't be referenced from anywhere (I believe)
Comment #2
Alan D. CreditAttribution: Alan D. commentedIf this is similar to the old Drupal 6 version, there should be a status value in the file_managed table. And this should be set to 0, as the form was never saved. Then after the timeout period and cron.php is run, the file and db record should get deleted.
If this happens, then this issue should be marked as by design, otherwise it is a bug.