Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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. 

CM1.png

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. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You can check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/xmp-me... 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.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

You can check https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/xmp-me... 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.

Avatar

Employee

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