AL icon indicating copy to clipboard operation
AL copied to clipboard

app.json internalsvisibleto.Id not recognized

Open FWI-95 opened this issue 4 years ago • 1 comments

Please include the following with each issue:

1. Describe the bug AL Language does not allow the use of the property "Id" in the section "InternalsVisibleTo" in the app.json file The Property InternalsVisibleTo.AppId is deprecated so this occured after changing to internalsVisibleTo.Id IDProperty_AppId

IDProperty 2. To Reproduce Add an "internalsVisibleTo App to an existing app.json file using the property "Id" instead of "AppId"

---

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 Successfull compiling of the extension.

4. Actual behavior The error "property "Id" is not recognized" is thrown when compiling

5. Versions:

  • AL Language: v9.4.663067

  • Visual Studio Code: Version: 1.70.2 (user setup) Commit: e4503b30fc78200f846c62cf8091b76ff5547662 Date: 2022-08-16T05:35:13.448Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19044

  • Business Central: Sandbox BC20

  • List of Visual Studio Code extensions that you have installed:

Final Checklist

Please remember to do the following:

  • [X] Search the issue repository to ensure you are reporting a new issue

  • [ ] Reproduce the issue after disabling all extensions except the AL Language extension

  • [X] Simplify your code around the issue to better isolate the problem

FWI-95 avatar Sep 01 '22 11:09 FWI-95

We just found out, that "Id" has to be "id" - so this works after all

FWI-95 avatar Sep 01 '22 11:09 FWI-95