Skip to content

Intermittent file entity duplication on upload #481

@ba66e77

Description

@ba66e77

[Description of defect]
Intermittently when uploading files on a request, subsequent checks of the files entity table (/admin/content/files) will show that a file exists separately as both a Temporary and Permanent file status.

In the screenshot below, two files were uploaded on the submitted request but one of them (smokejumper.png) has been duplicated in Drupal.

files___national_foia_portal

Thus far I have not been able to isolate a pattern for when the behavior occurs but have made the following observations

  1. The problem does not seem to be related to the file's extension/mime type
  2. Problem has been seen both with files flagged as viruses and those flagged as clean

Steps to reproduce the behavior

  1. Submit a FOIA request and attach one or more files
  2. Check the file table in Drupal
  3. NOTE: issue is intermittent so you may have to repeat the process multiple times for the failure to occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions