https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/ctask/general/ClamScan.java#L106

Indeed, vscan is written to assume that the ORIGINAL bundle exists.

Just from looking at the code it seems to me that if you add an empty
ORIGINAL bundle, nothing will be scanned and SUCCESS will be returned.

Anyway, if you want to scan your custom bundle, you'll have to modify the
vscan code. Should be fairly easy. Just do the same what is done for
ORIGINAL also for RESTRICTED, but in both cases add a check for empty array
(of bundles).
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to