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

AS0124 error for unchanged pageextension #7681

Closed AlexCeg closed 3 months ago

AlexCeg commented 4 months ago

1. Describe the bug We get this error, when we compile against BC24. I think the problem is, that the page "No. Series" was moved to another layer of the base application.

"The target of the extension object 'PageExtension' has changed from '__MissingTypeSymbol__' to 'No. Series'. Changing the target of an extension object that has been published is not allowed, because this might break the dependent extensions."

2. To Reproduce

  1. We have a pageextension to the pages "No. Series" (456) and "No. Series Relationships" (571) which was already published for BC23 (e.g. Version 1)
  2. Create a BC24 container (Artifact URL https://bcinsider.azureedge.net/sandbox/24.0.16410.16944/de)
  3. Download symbols of BC24 container
  4. Set up our workspace to compile and check for breaking changes between Version 1 and our current code
  5. Compile -> Error AS0124

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.

3. Expected behavior There should be no error, because there is no breaking change.

4. Actual behavior Error AS0124 occurs

5. Versions:

Final Checklist

Please remember to do the following: