Common Issues and Solutions
  • 23 Jun 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Common Issues and Solutions

  • Dark
    Light

Error Message: "Salesforce\force-app\main\default\applications\Chatter_Delete_Blocker.app-meta.xml"

Error InformationSteps for Resolution
Descriptions:
Getting an error “Salesforce\force-app\main\default\applications\Chatter_Delete_Blocker.app-meta.xml” when writing a custom SonarQube rules using the Xpath Template rule for Salesforce Metadata (sfmeta:XPathRule).

Causes:
The analysis is looking for a match with a file name and the suffix entered in the field, but it is unable to find any, which is why the above error is thrown.
  1. This is expected behavior as Codescan is unable to decide which rules to apply for the said files. 
    • To remove file patterns listed for sonar.lang.patterns.xml, navigate to Project Settings > General Settings > Language



Was this article helpful?
>