Closed ChrisBlankDe closed 1 week ago
Any chance you can provide me with a .zip file with a repro of this?
You already did - will look at that,
Created an AL-Go repo, added the two apps and set useCompilerFolder and doNotPublishApps to true. Works like a charm: https://github.com/freddydk/issue3538/actions/runs/9123828543/job/25086949097
When I compile App A - I use a common appSymbolsFolder (which I again use when compiling App B). This means that whatever apps where needed in App A will be there for App B as well. I cannot compile App B if you manually copy App A to .alpackages without also supplying dependencies.
We have a similar issue now that an ISV added a dependency to the "Data Search" app and has set propagateDependencies
to true
.
Now that our app has a dependency on their app, our pipeline fails with the below error when compiling:
`
`
Eg. the same scenario as in this issue - but we do not compile App A ourselves, we got a Runtime Package. That means that the provided workaround does not help us here.
Any suggestions on how to workaround this?
Btw, if I download symbols in VSCode, the symbols for the Data Search app are downloaded as expected, and my app compiles.
So, this seems to be isolated to BcContainerHelper. After digging around a bit, I cannot see that the propagateDependencies
property is handled at all when downloading symbols, is that correct? If so, any plans to support this anytime soon? š
I realize that this could involve quite some refactoring to implement recursively...
Will investigate
Have investigated:-) Will create a PR, which you can review and test
I will ship 6.0.26 before merging this fix - then this will be in preview shortly after. Not that I think there are any problems with this fix - but it is a change in a very central location.
Thanks Freddy, I'll try the change from your draft PR right away š
And I can confirm that the change solved this issue! Thanks again for fast action! š
Describe the issue We have two Apps, "App A" and "App B" App A has an dependency to Microsoft Data Seach and does propergate this. App B has an dependency to App A
When comiling App B we got an Error about missing Microsoft Data Seach App
Files to reproduce: AL-Go-Reproduction.zip
Scripts used to create container and cause the issue
Full output of scripts
Additional context