kine / NVRAppDevOps

Navertica DevOps scripts for managing Microsoft Dynamics 365 Business Central Apps
31 stars 29 forks source link

Cannot bind parameter because parameter 'publisher' is specified more than once. #40

Closed antony-acumencentral closed 6 months ago

antony-acumencentral commented 6 months ago

Hi Kine,

I got below error when running Business Central - Compile App in Container. Usually, I don't have any issue using it in the pipeline until yesterday.

LogFiles.txt

sayanacumenau commented 6 months ago

Hi Kine,

I think the issue stems from below script Compile-ALProjectTree and the line - Download-ALApp -name $App.name -publisher $App.publisher -publisher $App.id -version $App.version -targetPath $PackagesPath -AppDownloadScript $AppDownloadScript

There are two publisher parameter, I think the second one should be -id

kine commented 6 months ago

Yes, this seems wrong... will check.

kine commented 6 months ago

Can you test now with the prerelease version of v2.8.1 beta6?

kine commented 6 months ago

The problem should be solved now in v2.8.1. It was bug for situations where there were no app to download when calling Download-ALApp.

sayanacumenau commented 6 months ago

Thank you very much, yes it is solved now.