You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a page based on table 'Document' (with a field "Error Rows").
LC0064 shows up for a lot of page field controls having Rec.FieldNo as source expression. Fixing those errors in batch (using code actions from AL v14.x) moves the tooltips from the page to the table, which is fine.
However, LC0064 shows up for page field controls referencing AnotherRecord.FieldNo value (AnotherRecord references the same table as the page SourceTable). If I would perform the codeaction, the tooltip is moved from the page to the (AnotherRecord) table, which seems ok. Although, when publishing a new version of the app, the page field does not longer inherit the tooltip from the (AnotherRecord) table.
Seems like inheritance of table tooltips only works for Rec variables.
Requested change:
Please only include page field controls with Rec. as value in the LC0064 rule, to avoid other tooltips no longer to be shown.
PS: Not sure if the should be logged on https://github.com/microsoft/AL to ensure either the codeaction excludes those cases and if the runtime should inherited tooltips from non Rec. values as well.
The text was updated successfully, but these errors were encountered:
.. the page field does not longer inherit the tooltip from the (AnotherRecord) table
This is not the behavior I would expect and I'm thinking that you may have found a bug. I would suggest raising this issue on the https://github.com/microsoft/AL and depending on the response adapt the rule (if necessary).
Do you want to do the honors of creating an issue?
I've a page based on table 'Document' (with a field "Error Rows").
LC0064 shows up for a lot of page field controls having Rec.FieldNo as source expression. Fixing those errors in batch (using code actions from AL v14.x) moves the tooltips from the page to the table, which is fine.
However, LC0064 shows up for page field controls referencing AnotherRecord.FieldNo value (AnotherRecord references the same table as the page SourceTable). If I would perform the codeaction, the tooltip is moved from the page to the (AnotherRecord) table, which seems ok. Although, when publishing a new version of the app, the page field does not longer inherit the tooltip from the (AnotherRecord) table.
Seems like inheritance of table tooltips only works for Rec variables.
Requested change:
PS: Not sure if the should be logged on https://github.com/microsoft/AL to ensure either the codeaction excludes those cases and if the runtime should inherited tooltips from non Rec. values as well.
The text was updated successfully, but these errors were encountered: