microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718 stars 242 forks source link

ToolTips added to a TableExtension field are not displayed if they have Locked = true (runtime 13.0) #7752

Closed JavierFuentes closed 1 month ago

JavierFuentes commented 1 month ago

1. Describe the bug In a new extension configured with runtime 13.0, ToolTips can be added at the Table/TableExt Field level instead of at the Page/PageExt level.

However, after installing the extension on a BC v24.0, the ToolTip is not displayed in the web client if the Locked property is set to true

2. To Reproduce Add a ToolTip at the Table/TableExt Field level with Locked = true and publish

// extension with runtime = 13.0
tableextension 50000 "Customer EXT" extends Customer
{
    fields
    {
        field(50000; "Contact 2 EXT"; Text[30])
        {
            Caption = 'Contacto 2', Locked = true;  // This works
            DataClassification = CustomerContent;
            ToolTip = 'Especifica el valor del campo Contacto 2.', Locked = true;  // This doesn't work
        }
    }
}

pageextension 50000 "CustomerList EXT" extends "Customer List"
{
    layout
    {
        addafter("No.")
        {
            field("Contact 2 EXT"; Rec."Contact 2 EXT")
            {
                ApplicationArea = All;
            }
        }
    }
}

3. Expected behavior The ToolTip is expected to be displayed in the web client even when it has Locked = true

4. Actual behavior No ToolTip is showed

5. Versions:

Final Checklist

Please remember to do the following:

thloke commented 1 month ago

Hi, this issue is out of scope of for this repository. It's out of scope because it's to do with the runtime and client behaviour of the extension, rather than the AL language itself. You should do one of the following:

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.

JavierFuentes commented 1 month ago

Hi @thloke , in that case the compiler or VSCode should at least raise a warning until the web client development team fixes it.