AnsweredAssumed Answered

1K files remain after deleting binaries from contentstore

Question asked by itayh on Mar 16, 2009
Hi All,

We are using Alfresco 2.1
The only configuration that actually delete binaries from the filesystem is with the next configuration:

   <bean id="storeArchiveMap" class="org.alfresco.repo.node.StoreArchiveMap">
      <property name="archiveMap">
         <map>
         </map>
      </property>
   </bean>

and

   <bean id="contentStoreCleaner" class="org.alfresco.repo.content.cleanup.ContentStoreCleaner" >
      <property name="dictionaryService">
         <ref bean="dictionaryService" />
      </property>
      <property name="nodeDaoService" >
         <ref bean="nodeDaoService" />
      </property>
      <property name="avmNodeDAO">
            <ref bean="avmNodeDAO"/>
      </property>
      <property name="transactionService" >
         <ref bean="transactionService" />
      </property>
      <property name="protectDays" >
         <value>1</value>
      </property>
      <property name="stores" >
         <list>
            <ref bean="fileContentStore" />
         </list>
      </property>
      <property name="listeners" >
         <list>
            <ref bean="deletedContentBackupListener" />
         </list>
      </property>
   </bean>

If we remove the deletedContentBackupListener the binaries will not be deleted.

However after the binaries are deleted from the filesystem what we get is 1k ASCII files with  the next line in them "Content0".
Any idea why?

Thanks in advance

Outcomes