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

WHERE clause contains reference to... Call to BUFFER-FIELD #952

Open
stefandrissen opened this issue Mar 10, 2022 · 2 comments
Open

WHERE clause contains reference to... Call to BUFFER-FIELD #952

stefandrissen opened this issue Mar 10, 2022 · 2 comments

Comments

@stefandrissen
Copy link

stefandrissen commented Mar 10, 2022

The following code snippet flags WHERE clause contains reference to... Call to BUFFER-FIELD

DEFINE TEMP-TABLE ttfoo NO-UNDO
   FIELD cc AS CHARACTER
   .

DEFINE VARIABLE hb AS HANDLE NO-UNDO.

hb = TEMP-TABLE ttfoo:DEFAULT-BUFFER-HANDLE.

FOR EACH ttfoo
   WHERE hb:BUFFER-FIELD( 'cc':u ):BUFFER-VALUE MATCHES ttfoo
:
   //
END.

When changing to hb::cc (which I cannot use since the field name is a variable) the rule is not triggered.

:get-attribute on an x-noderef is also triggering this rule.

@gquerret gquerret changed the title FP: WHERE clause contains reference to... Call to BUFFER-FIELD WHERE clause contains reference to... Call to BUFFER-FIELD Mar 10, 2022
@stefandrissen
Copy link
Author

Same issue with hw:get-browse-column(1)

@stefandrissen
Copy link
Author

Same issue with hx:get-attribute( 'foo' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants