}
} catch ( IOException e ) {
log.error( "Unable to remove asset attachment",
e );
}
item.archiveItem( archive );
ModuleItem pkg = item.getModule();
pkg.updateBinaryUpToDate( false );
RuleBaseCache.getInstance().remove( pkg.getUUID() );
if ( archive ) {
item.checkin( "archived" );