Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect missing NO-ERROR on FIND ... IF AVAILABLE #1108

Open
lievendf opened this issue Jan 18, 2024 · 1 comment
Open

Detect missing NO-ERROR on FIND ... IF AVAILABLE #1108

lievendf opened this issue Jan 18, 2024 · 1 comment
Labels

Comments

@lievendf
Copy link

When writing

FIND Order WHERE ... NO-LOCK.
IF AVAILABLE Order
THEN ...

Sonar should warn for a missing NO-ERROR, as the IF AVAILABLE will not be executed in case the record isn't found.

@gquerret
Copy link
Contributor

@gquerret gquerret added the CABL label Apr 4, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants