AL icon indicating copy to clipboard operation
AL copied to clipboard

Download Symbols for Propagated Dependencies skips Symbols in certain Scenarios

Open AlexanderRichter opened this issue 3 months ago • 3 comments

Please include the following with each issue:

1. Describe the bug The PropagateDependency setting in the app.json does not work as expected and leads in some situations to missing Symbols when downloading them.

2. To Reproduce Steps to reproduce the behavior:

App Dependency Version Propagate Published Version Download Symbols Failed
A -     26.5.1.0  
B A 26.5.0.0 X 26.5.0.0  
C B 26.5.0.0   26.5.0.0  
  A 26.5.1.0      
D C 26.5.0.0     A is missing

Please find attached the described Demo Apps.

  1. Publish App A
  2. Publish App B
  3. Publish App C
  4. Publish App D and Download Symbols

3. Expected behavior Donwloading Sybols in Wokspace of App D should download symbols of App A as it has an indrect dependency to App A.

4. Actual behavior No Symbols where downloaded. In real examples we see thet the symbols where requested but not downloaded, also now Error is shown

[2025-09-22 18:42:20.52] Using reference symbols cache paths: [c:\Users\ARichter\Documents\Repos\customer\BASEDATA\app../../.alpackages] [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=Microsoft&appName=Application&versionText=26.5.0.0&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=Microsoft&appName=System&versionText=26.0.0.0&appId=8874ed3a-0643-4247-9ced-7a7002f7135d&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 DeliveryTimes&versionText=26.1.25081201.25081201&appId=b60dd853-4705-4791-bc06-bdaaa5fdc34f&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Item Listing&versionText=26.1.25072401.25072401&appId=d8d3a731-1076-4efe-acb8-0e55d5721902&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Empties Management&versionText=26.0.25080601.25080601&appId=9dcc2a6d-442b-4968-8db8-a4e285d7fd74&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Base&versionText=25.1.25080601.25080601&appId=ba5e92a6-b5c1-471d-ad51-1f407e627c27&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Association&versionText=26.1.25090301.25090301&appId=829e4486-b636-4be4-9bcf-3120ee08daf7&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Extended Pricing&versionText=25.2.25090201.25090201&appId=1b3cb721-7c48-46ef-bccc-81e3f4e01959&tenant=default [2025-09-22 18:42:20.53] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Charge&versionText=26.0.25090101.25090101&appId=f5324693-93ec-4c8f-9964-34cfae31b743&tenant=default [2025-09-22 18:42:21.95] The following dependencies will be queried for propagated dependencies: System Application by Microsoft (26.5.0.0) Business Foundation by Microsoft (26.5.0.0) Base Application by Microsoft (26.5.0.0) MODUS M365 Business Foundation by MODUS Consult GmbH (26.0.25071501.0) MODUS M365 Foundation by MODUS Consult GmbH (25.1.25080601.25080601) MODUS M365 Editor by MODUS Consult GmbH (25.1.25072401.25072401) MODUS M365 Bonus Management by MODUS Consult GmbH (25.1.25072301.0) [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=Microsoft&appName=System Application&versionText=26.5.0.0&appId=63ca2fa4-4f03-4f2b-a480-172fef340d3f&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=Microsoft&appName=Business Foundation&versionText=26.5.0.0&appId=f3552374-a1f2-4356-848e-196002525837&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=Microsoft&appName=Base Application&versionText=26.5.0.0&appId=437dbf0e-84ff-417a-965d-ed2bb9650972&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Business Foundation&versionText=26.0.25071501.0&appId=b120fd86-9188-4011-9853-000671dbd074&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Foundation&versionText=25.1.25080601.25080601&appId=d78da1d4-e45e-479e-9bb3-c368752fb48f&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Editor&versionText=25.1.25072401.25072401&appId=8a1b3e01-8a3f-4064-9559-58390f010a30&tenant=default [2025-09-22 18:42:21.95] Sending request to https://bctest.customer.de:7049/DEV/dev/packages?publisher=MODUS Consult GmbH&appName=MODUS M365 Bonus Management&versionText=25.1.25072301.0&appId=73dbb6d4-2b3c-4dae-b960-ad19b06e0467&tenant=default [2025-09-22 18:42:35.58] All reference symbols have been downloaded.

But in fact the Symbols for the propagated Dependency App where not downloaded. To stick to the example the Apps

MODUS M365 Business Foundation by MODUS Consult GmbH (26.0.25071501.0) MODUS M365 Foundation by MODUS Consult GmbH (25.1.25080601.25080601)

are propagated dependency apps, the apps are installed in the database but wont be downloaded.

5. Versions:

  • AL Language: 15.2.1630495 / 16.0.1493797 / 17.0.1750311
  • Visual Studio Code:
  • Business Central: BC26.5 and BC27
  • List of Visual Studio Code extensions that you have installed:
  • Operating System:
    • [x] Windows
    • [ ] Linux
    • [ ] MacOS

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

PropagateDemo.zip

AlexanderRichter avatar Sep 24 '25 14:09 AlexanderRichter

This is (currently) by-design: https://github.com/microsoft/AL/issues/6847#issuecomment-979923899 But maybe we can use this issue to remind them to update the documentation.

dannoe avatar Sep 25 '25 15:09 dannoe

It's not just a first level problem. Something is going crazy when propagateDependencies is true and an other app request a higher version. Look at the example above: App D has dependency on App C - App C requires App B and App A (from here it's more than one level for dependency which you mentioned) BUT App A is directly requested from App C with an higher version and as you can see from the log a request will be send to the server but it will not be downloaded and stated "All symbols have been downloaded"

chrischbo avatar Sep 26 '25 05:09 chrischbo

Any update here? Is it by design or will we get a fix in the future?

chrischbo avatar Nov 04 '25 12:11 chrischbo

Hi @dannoe, any update here. by design should download first level dependencies. I, like @chrischbo, am experiencing the same in 26.5. has this been addressed in future releases?

(like @chrischbo = I can see the output in vscode where it attempts to download all the dependencies. and it appears to do so fine "All dependencies have been downloaded". But then they are nowhere to be found.)

// sample output below

[2025-12-22 16:17:06.19] The following dependencies will be queried for propagated dependencies: System Application by Microsoft (26.5.0.0) Business Foundation by Microsoft (26.5.0.0) Base Application by Microsoft (26.5.0.0) Continia Document Capture by Continia Software (26.3.3.0) Continia Core by Continia Software (26.3.0.0) Continia Delivery Network by Continia Software (26.3.0.0) Late Payment Prediction by Microsoft (26.0.30643.34008) Intelligent Cloud Base by Microsoft (26.0.30643.33533) _Exclude_Master_Data_Management by Microsoft (26.0.30643.32695) Exclude_APIV2 by Microsoft (26.0.0.0) Abakion App Manager Core by Abakion (25.4.202512.123708) Tasklet Mobile WMS by Tasklet Factory (5.55.260.262)

// then it starts to download them (supposedly):

[2025-12-22 16:17:06.19] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=System Application&versionText=26.5.0.0&appId=63ca2fa4-4f03-4f2b-a480-172fef340d3f&tenant= [2025-12-22 16:17:06.19] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=Business Foundation&versionText=26.5.0.0&appId=f3552374-a1f2-4356-848e-196002525837&tenant= [2025-12-22 16:17:06.19] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=Base Application&versionText=26.5.0.0&appId=437dbf0e-84ff-417a-965d-ed2bb9650972&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Continia Software&appName=Continia Document Capture&versionText=26.3.3.0&appId=6da8dd2f-e698-461f-9147-8e404244dd85&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Continia Software&appName=Continia Core&versionText=26.3.0.0&appId=4b915d7e-c02a-435f-85ab-649086c1e002&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Continia Software&appName=Continia Delivery Network&versionText=26.3.0.0&appId=0745e76d-0b72-4641-87c2-ee45db5d2c32&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=Late Payment Prediction&versionText=26.0.30643.34008&appId=3d5b2137-efeb-4014-8489-41d37f8fd4c3&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=Intelligent Cloud Base&versionText=26.0.30643.33533&appId=58623bfa-0559-4bc2-ae1c-0979c29fd9e0&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=_Exclude_Master_Data_Management&versionText=26.0.30643.32695&appId=a01864f8-9c3f-42f6-8328-8d7be1ce3e20&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Microsoft&appName=Exclude_APIV2&versionText=26.0.0.0&appId=10cb69d9-bc8a-4d27-970a-9e110e9db2a5&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Abakion&appName=Abakion App Manager Core&versionText=25.4.202512.123708&appId=9cf9feca-8d2d-49f3-a03d-6ae05f910b2c&tenant= [2025-12-22 16:17:06.20] Sending request to https://api.businesscentral.dynamics.com/v2.0/Continia_Test/dev/packages?publisher=Tasklet Factory&appName=Tasklet Mobile WMS&versionText=5.55.260.262&appId=a5727ce6-368c-49e2-84cb-1a6052f0551c&tenant= [2025-12-22 16:17:13.29] All reference symbols have been downloaded.

// yes workaround is just to specify the propogated dependencies in the app.json ... but it was not always this way.

grantbrimhall avatar Dec 22 '25 23:12 grantbrimhall