CQRules:CQBP-84 | Code Quality Check "Critical", Reliability Rating "D" | Cloud Manager | @ProviderType should not be implemented by custom code | Community
Skip to main content
July 12, 2023
Solved

CQRules:CQBP-84 | Code Quality Check "Critical", Reliability Rating "D" | Cloud Manager | @ProviderType should not be implemented by custom code

  • July 12, 2023
  • 2 replies
  • 1212 views

We are getting code quality issues in the code scanning results with the severity "Critical" from Adobe Cloud Manager on implementing "com.day.cq.dam.api.handler.xmp.XMPWriteBackOptions".
The issue description is "The product interface com.day.cq.dam.api.handler.xmp.XMPWriteBackOptions annotated with @ProviderType should not be implemented by custom code."

 

This pushed the reliability rating to "D", as there should not be any "Critical" or "Major" issue to gain a better reliability rating. 

Is there a way to fix or negotiate this? The deployments would fail on Stage and overwriting the reliability rating setting is not an option on Stage and Production. 

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 rawvarun

You can check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/xmp-metadata.html?lang=en to see if you can avoid implementing com.day.cq.dam.api.handler.xmp.XMPWriteBackOption in your custom code.

If this is not possible, contact Adobe Support Team.

2 replies

rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
July 13, 2023

You can check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/xmp-metadata.html?lang=en to see if you can avoid implementing com.day.cq.dam.api.handler.xmp.XMPWriteBackOption in your custom code.

If this is not possible, contact Adobe Support Team.

sumjana
Adobe Employee
Adobe Employee
July 26, 2023

This could be fixed using an alternate approch. Here's a blog with the solution: https://suman-shekhar.medium.com/aem-custom-xmp-metadata-writeback-92f69a137489