Document Tree
Document Properties
Kbid
3B1180
Last Modified
21-Mar-2024
Added to KB
02-May-2024
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
ICM 11
Guide - 11.10.0 - Deleting User and Domain References

Introduction

When a domain is marked for deletion, the job DeleteDomainReferences deletes all references to that domain. Similarly, if a user is marked for deletion, the job DeleteUserReferences deletes all references to that user. Currently, the configured DomainDeletionPipeline or the corresponding UserDeletionPipeline are called in each cartridge. These pipeline calls still work, but they have been marked as deprecated and will be removed. Instead, use the Guice Multibinder to bind DomainReferenceDeletionHandler or accordingly UserReferenceDeletionHandler as described in Concept - Mass Data Cleanup.

Migration for Each Cartridge

Domain Reference Deletion

The migration is only needed if DomainDeletionPipeline is used in the cartridge.

Cartridge Properties

In the cartridge properties file, remove the DomainDeletionPipeline configuration.

Add Cartridge-Specific Domain Reference Deletion Handler

Afterwards, add and bind a cartridge-specific domain reference deletion handler as described in Cookbook - Mass Data Cleanup | Recipe: Add and Bind a Cartridge-Specific Domain Reference Deletion Handler, which is the replacement for the removed pipeline from the properties file. In that new domain reference deletion handler, you can migrate the previous pipeline execution for the domain reference deletion handling of the cartridge.

User Reference Deletion

The migration is only needed if UserDeletionPipeline is used in the cartridge.

Cartridge Properties

In the cartridge properties file, remove the UserDeletionPipeline configuration.

Add Cartridge-Specific User Reference Deletion Handler

Afterwards, add and bind a cartridge-specific user reference deletion handler similar to domains as described in Cookbook - Mass Data Cleanup | Recipe: Add and Bind a Cartridge-Specific Domain Reference Deletion Handler, which is the replacement for the removed pipeline from the properties file. In that new user reference deletion handler, you can migrate the previous pipeline execution for the user reference deletion handling of the cartridge.

Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.