/etc/acs-commons/lists overlap issue while checking code coverage | Community
Skip to main content
Level 4
April 15, 2024

/etc/acs-commons/lists overlap issue while checking code coverage

  • April 15, 2024
  • 3 replies
  • 1017 views

Hi Team,

       we are on AEMasCS, we were working on resolving code coverage issue. we have below bug attached screenshot. we gone though below link related to code quality rule but couldn't able to relate the issue. 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-manager/content/using/custom-code-quality-rules#oakpal-no-overlap

 

can you anyone help to resolve the issue or provide some example  relevant to this code coverage bug?

Thanks in Advance.

 

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

3 replies

arunpatidar
Community Advisor
Community Advisor
April 15, 2024

Hi @rajat168 
Can you check if the latest version of ACS common has the same issue ?

https://github.com/Adobe-Consulting-Services/acs-aem-commons/releases/tag/acs-aem-commons-6.5.0 

Arun Patidar
rajat168Author
Level 4
April 15, 2024

Hi @arunpatidar , thanks for your response, validated acs common with latest version but still issue persist. I hope the issue was not with acs common version...

RikVanB
Level 2
April 15, 2024

Hi @rajat168 

I think this issue occurs when you have multiple Maven dependencies that includes the same package. If that is the case you could exclude that package from one or more dependencies, here you can find how to do it.

 

Hope this helps!


Greetings

Rik

rajat168Author
Level 4
April 24, 2024

Hi @rikvanb , as suggested, i have updated acs-commons on my project all/pom.xml

and core/pom.xml

all/pom.xml

Core/Pom.xml

 

Still the issue persist. Kindly pleas any one can help;

 

 

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 18, 2024

@rajat168 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Esteban Bustamante