AA0218 not working as expected for dependent fields
1. Describe the bug If you add a field from a dependent extension to a page extension, it will show "Tooltip for field 10 must be filled", even if you add a tooltip in your table extension via modify.
2. To Reproduce App A: Look for a table and field, where no tooltip is used (yet). (Say, Table Item, Field Description) App B: Create a PageExtension for the item card, add Rec.Description. Activate CodeCops "${CodeCop}"
-> You will get the AA0218 Warning.
Create TableExtension for item with modify(Description) { Tooltip = 'Test'; }
Expected:;
3. Expected behavior The modification should be respected as existing tooltip, and AA0218 should not be shown. It even works (if you publish, you will see test as tooltip for the description
4. Actual behavior
AA0218 is shown - Tooltip for Description must be filled.
(the changed tooltip is already working in the client, so I assume it is just a forgotten case in the codecope.
5. Versions: AL Language v13.1.1065068
Final Checklist
Please remember to do the following:
-
[x] Search the issue repository to ensure you are reporting a new issue
-
[x] Reproduce the issue after disabling all extensions except the AL Language extension
-
[x] Simplify your code around the issue to better isolate the problem
Internal work item: AB#550244
Duplicate of #7696 Can you reproduce the warning with the newest prerelease version?
Yes.
It is one step more than #7696
Field is from Base App, Tooltip added in TableExtension
any update on this? I checked with 15.0.1143290 - and the warning still exists.
@BazookaMusic Any chance to get this actually solved soon?
I'll accept the bug so we can start looking at it, but it might be implemented in one of the next official releases. It's annoying but not critical as this is a warning
Any new planning for a fix?
seems to be fixed with the al version for 26.0. Thanks....