BartPermentier / al-toolbox

Adds Features to the AL Language Extension
MIT License
13 stars 9 forks source link

Create Regions doesn't work with multiple apps in Workspace #88

Closed achim-t closed 1 year ago

achim-t commented 2 years ago

This only happens, when the app folder's name is part of another app folder.

image

Contents of the .al file: image

Creating regions works fine in app2 but doesn't work at all in app.

The message in Log (Window):

[2022-10-13 15:40:02.752] [renderer14] [error] Multiple app.json files found:
/c:/Users/achim-t/Documents/AL/ALProject33/app2/app.json, /c:/Users/achim-t/Documents/AL/ALProject33/app/app.json

If I rename app to app1, it works in both al files.

Other ALTB function are probably affected as well. For instance "Renumber AL objects" shows an error notification with the same "Multiple app.json files found" message.

dsaveyn commented 1 year ago

Thank you for reporting this issue and suggesting the solution. The solution will be available in the next release.