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

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

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. 

Ce sujet a été fermé aux réponses.
Meilleure réponse par 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 commentaires

rawvarun
Community Advisor
rawvarunCommunity AdvisorRéponse
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