AL icon indicating copy to clipboard operation
AL copied to clipboard

AL: Go! does not set platform in app.json

Open NKarolak opened this issue 1 year ago • 1 comments

1. Describe the bug AL: Go! does not set the platform property according to the target platform.

2. To Reproduce Steps to reproduce the behavior:

  1. Hit F1, then AL: Go!.
  2. Choose the latest target platform version, e.g. 12.0.
  3. Open the app.json and check the platform property.

3. Expected behavior The platform property should be set dynamically, just as the application and runtime already are. See also example from standard code: version 24.0.0.0 is used.

4. Actual behavior App.json:

  "platform": "1.0.0.0",

Or maybe there is a good reason to choose 1 as the minimum value? The docs are totally unclear about which value to choose (the Symbol link does not point to the right content, it seems): image

5. Versions:

  • AL Language: 12.5.914975

NKarolak avatar Jan 12 '24 14:01 NKarolak

It seems the docs article above is supposed to forward to this link: https://learn.microsoft.com/en-us/dynamics365/business-central/application/system/module/system. I think I know now how to fix the docs ... However, the AL: Go! issue is still open ;-)

NKarolak avatar Jan 16 '24 14:01 NKarolak

We have internally discussed this issue and have decided not to accept this issue to be fixed at the moment to prioritize other issues. Thank you for raising this concern.

If you do need the newer version of the platform, then you can specify that.

thloke avatar Apr 02 '24 08:04 thloke