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
719 stars 242 forks source link

[Bug] [BC24] Go to Definition for Moved Table Object (e.g. "No. Series", "No. Series Line") - Unable to resolve text model content for resource #7693

Closed pri-kise closed 3 months ago

pri-kise commented 3 months ago

Please include the following with each issue:

1. Describe the bug I receive the follwoing when I try to DrillDown to "No. Series Line"

The editor could not be opened due to an unexpected error: Unable to resolve text model content for resource al-preview://allang/MainApp/Table/309/No.%20Series%20Line.dal

image

2. To Reproduce Steps to reproduce the behavior:

  1. Try to use "Go to Definition" on "No. Series Line"
    local procedure Dummy()
    var
        NoSeriesLine: Record "No. Series Line"; 
    begin
       ...
    end;

3. Expected behavior It should be possible to DrillDown to any Object

4. Actual behavior Currently I receive this strange error. Maybe this is related to the case, that the "No. Series Line" was moved to the "Business Foundation Layer"

5. Versions:

mjmatthiesen commented 3 months ago

I can confirm the same issue.

PooyaKharamesh commented 3 months ago

Thank you for reporting this issue. This problem with goto definition on the moved objects, is fixed. The fix will be available in the next version of AL language extension.