Files uploaded in paragraphs field aren't scanned by clamav hence it throws error which is:

'The anti-virus scanner was not able to check the file. The file cannot be uploaded. Please contact the site administrator if this problem persists.'

This error is thrown because the paragraph fields doesn't return real path of uploaded file in the filepath variable, hence the uploaded files goes unscanned therefore throws above written error.

Comments

Kamlendra created an issue. See original summary.

Kamlendra’s picture

StatusFileSize
new357 bytes

I've created a patch to make clamav support paragraph fields as well as open atrium media fields
check this out if this works for you.

  • manarth committed bd8e604 on 7.x-1.x authored by Kamlendra
    Issue #2626562 by Kamlendra: use drupal_realpath to resolve stream...
manarth’s picture

Status: Active » Fixed

Fixed in commit bd8e6049734069efead990acb5e692442019d0a2.

Thanks Kamlendra!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.