AEM Pattern Detector: content.area.violation | Community
Skip to main content
April 7, 2020
Solved

AEM Pattern Detector: content.area.violation

  • April 7, 2020
  • 1 reply
  • 2312 views

Hi All,

 

I'm working on aem 6.3 to 6.5 in place upgrade activity. As part of this, I'm fixing the issues raised by pattern detector. I have found the below issue:

 

 

The overlay was done for customization but now the overlay is not allowed for it as mixinType is Internal (granite:InternalArea) - Defines a node as internal. Nodes classified as internal cannot be overlaid, inherited, or used directly. These nodes are meant only for internal functionality of AEM

 

We require the customization, so is there any way to resolve it.

 

Thanks

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Theo_Pendle

A content area violation (CAV) is detected because you are currently overriding or overlaying a node which is (or will be after the upgrade) in a "restricted area". You can read more about content areas here: https://docs.adobe.com/content/help/en/experience-manager-64/deploying/upgrading/sustainable-upgrades.html

To make a comparison: overlaying a node that is in a granite:internalArea is a bit like trying to extend a class which is marked as final in Java (ie: not allowed!).

You will have to do remove the offending node.

Based on your previous questions, I suspect that this too is a result of an outdated ACS Commons package being installed on your instance.

1 reply

Theo_Pendle
Theo_PendleAccepted solution
April 7, 2020

A content area violation (CAV) is detected because you are currently overriding or overlaying a node which is (or will be after the upgrade) in a "restricted area". You can read more about content areas here: https://docs.adobe.com/content/help/en/experience-manager-64/deploying/upgrading/sustainable-upgrades.html

To make a comparison: overlaying a node that is in a granite:internalArea is a bit like trying to extend a class which is marked as final in Java (ie: not allowed!).

You will have to do remove the offending node.

Based on your previous questions, I suspect that this too is a result of an outdated ACS Commons package being installed on your instance.