You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the foia_submissions queue, files that are not present generate a warning when the file_get_contents function is unable to accept the lack of an argument.
Acceptance criteria
Running the queue with a deleted or otherwise non-present file should not generate a warning.
Expected Behavior
Running the queue does not attempt to process files which have been deleted from the filesystem.
Actual Behavior
Running the queue results in a warning:
file_get_contents(test.txt): [warning]
failed to open stream: No such file or directory EmailWebformHandler.php:812
Processed 1 items from the foia_submissions queue
Steps to reproduce the behavior
Upload a test virus file to a foia request form
Wait for the files and request entity to update on cron tasks that call drush feu, drush qcr, and drush queue-run or run manually
See the notice above returned when drush queue-run is run
The text was updated successfully, but these errors were encountered:
When running the foia_submissions queue, files that are not present generate a warning when the
file_get_contents
function is unable to accept the lack of an argument.Acceptance criteria
Expected Behavior
Running the queue does not attempt to process files which have been deleted from the filesystem.
Actual Behavior
Running the queue results in a warning:
Steps to reproduce the behavior
drush feu
,drush qcr
, anddrush queue-run
or run manuallydrush queue-run
is runThe text was updated successfully, but these errors were encountered: