[apex] ApexCrudViolation: False positives with new access levels #4597
Labels
a:false-positive
PMD flags a piece of code that is not problematic
needs:user-input
Maintainers are waiting for feedback from author
was:invalid
Affects PMD Version:
Rule:
Please provide the rule name and a link to the rule documentation:
https://docs.pmd-code.org/latest/pmd_rules_apex_security.html#apexcrudviolation
Description:
Code Sample demonstrating the issue:
Validate CRUD permission before SOQL/DML operation (rule: Security-ApexCRUDViolation)
Expected outcome:
Dont provide that validation warning
PMD reports a violation at line ..., but that's wrong. That's a false positive.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
The text was updated successfully, but these errors were encountered: