-
Notifications
You must be signed in to change notification settings - Fork 247
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
AA0248 in Pageextensions not working as expected #7867
Comments
The same problem happens in tableextension in combination with local procedures/global variables on the tableextension level. |
doesn't seem to be an important error - no movement for 3 months :/ |
Hopefully raising the point that there can be code with no compile-time warnings can create a catastrophic error at table access in the UI might encourage some progress, especially when looking at |
1. Describe the bug
AA0248 is shown hidden with 3 dots for a variable, but if you follow the instructions and add the this, AL0847 occurres (Page MainPage does not contain a definition for variable)
2. To Reproduce
pageextension 74791 "KVSDMSADVDemo" extends "Company Information"
{
layout
{
addfirst(General)
{
field(KVSDMSADVPREBaseCalendarCode; Rec."Base Calendar Code")
{
ApplicationArea = All;
Visible = Variable;
Enabled = this.Variable;
}
}
}
}
3. Expected behavior
No (hidden) warning, or this for pageextension variable
4. Actual behavior
Wrong warning, or unsupported this in pageextension
5. Versions:
Commit: e10f2369d0d9614a452462f2e01cdc4aa9486296
Datum: 2024-10-05T05:44:32.189Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
Betriebssystem: Windows_NT x64 10.0.22631
Final Checklist
Please remember to do the following:
Search the issue repository to ensure you are reporting a new issue
Reproduce the issue after disabling all extensions except the AL Language extension
[ x] Simplify your code around the issue to better isolate the problem
The text was updated successfully, but these errors were encountered: