We are using SDL Tridion 2013 SP1 and extending the storage using Storage Extension feature. Storage Binding file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
  <StorageDAOBundle type="persistence">
    <StorageDAO typeMapping="ComponentPresentation" 

Storage Binding file's info is added to cd_storage_conf.xml.

While the create method is rightly invoked while publishing the Component Presentation, remove method is not getting invokved whenever Component Presentation is unpublished.

What is more to be done to have remove method invoked while unpublishing Component Presentation?

1 Answer 1


For query specific to your custom development of storage extension.

I would recommend to include more debug log information to see where your transaction action stands when unpublishing also include more logs in your JPASearchDAOFactory, also check which remove method it's invoking

public class JPASearchComponentPresentationDAO extends JPAComponentPresentationDAO implements ComponentPresentationDAO
    public void remove(ComponentPresentation itemToRemove, ComponentPresentationTypeEnum componentPresentationType) throws StorageException
        super.remove(itemToRemove, componentPresentationType);
        LOG.debug("Removal method 1");


    public void remove(int publicationId, int componentId, int componentTemplateId, ComponentPresentationTypeEnum componentPresentationType) throws StorageException
        super.remove(publicationId, componentId, componentTemplateId, componentPresentationType);
        LOG.debug("Removal method 2");
  • "remove" method in the extended class is not getting invoked. Deployer executes the default unpublishing from broker DB correctly without executing the extension part. Commented Jul 26, 2017 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.