Skip to main content
July 12, 2023
Respondido

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

  • July 12, 2023
  • 2 respostas
  • 1237 Visualizações

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. 

Este tópico foi fechado para respostas.
Melhor resposta por 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 Respostas

rawvarun
Community Advisor
rawvarunCommunity AdvisorResposta
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.

Varun Rawat
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