Expand my Community achievements bar.

SOLVED

AEM Purge Surgeon for Page Move

Avatar

Level 1

Hi All I am using Purge Surgeon Jar to remove the Akamai cache.

We have overridden the Preprocessor used in the Purge Surgeon Jar and are sending request through it,

 

But when author are moving Page then the Preprocessor written in Purge surgeon is throwing exception of Resource not found as it is trying to find the Page that is being moved.

 

So need a solution that the exception doesn't come?

1 Accepted Solution

Avatar

Correct answer by
Employee

The Preprocessor written in the Purge Surgeon Jar might have a condition which is directly manipulating resource without check. You can extract that Jar and use it as separate bundle.

Make changes in the code and build the bundle again as a part of your code.

View solution in original post

2 Replies

Avatar

Employee

Is there any issue coming to the author as well?

Avatar

Correct answer by
Employee

The Preprocessor written in the Purge Surgeon Jar might have a condition which is directly manipulating resource without check. You can extract that Jar and use it as separate bundle.

Make changes in the code and build the bundle again as a part of your code.