Asset Expiration is Deactivating the Asset

Avatar

Avatar

narayanad670284

Avatar

narayanad670284

narayanad670284

04-01-2021

Hello,

The Assets are being deactivated when expiration date of an asset is reached. This is causing a problem where some of the pages leads to 404's. Is there a way like customizing OOTB ExpiryNotificationImpl removing the deactivate step so that asset don't get unpublished when expiration date is reached?

View Entire Topic

Avatar

Avatar

kunal23

MVP

Avatar

kunal23

MVP

kunal23
MVP

05-01-2021

No you can not configure it to disable the replication. The best solution in this case is to write custom expiry job and disable the out of the box expiry job. 

One hack is to disable replicate permission of "dynamic-media-replication" user but again it is not recommended as it is an anti pattern to update system users which come out of the box from AEM code.