From d6b3daee662ee6296300d83357de9646e4a2bd94 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Thu, 30 May 2024 11:04:06 +0200 Subject: [PATCH] Ps7bugs9 (#3561) Fixes #3560 Fixes #3559 --------- Co-authored-by: freddydk --- AppHandling/Compile-AppInNavContainer.ps1 | 1 + Bacpac/Backup-NavContainerDatabases.ps1 | 4 ++-- ReleaseNotes.txt | 4 ++++ Version.txt | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/AppHandling/Compile-AppInNavContainer.ps1 b/AppHandling/Compile-AppInNavContainer.ps1 index 9cb8cf083..2d2d36717 100644 --- a/AppHandling/Compile-AppInNavContainer.ps1 +++ b/AppHandling/Compile-AppInNavContainer.ps1 @@ -276,6 +276,7 @@ try { "C:\Applications.*\Microsoft_Application_*.app,C:\Applications\Application\Source\Microsoft_Application.app" "C:\Applications.*\Microsoft_Base Application_*.app,C:\Applications\BaseApp\Source\Microsoft_Base Application.app" "C:\Applications.*\Microsoft_System Application_*.app,C:\Applications\System Application\source\Microsoft_System Application.app" + "C:\Applications.*\Microsoft_Business Foundation_*.app,C:\Applications\BusinessFoundation\source\Microsoft_Business Foundation.app" ) } $paths | ForEach-Object { diff --git a/Bacpac/Backup-NavContainerDatabases.ps1 b/Bacpac/Backup-NavContainerDatabases.ps1 index 922a83e8f..62e722f15 100644 --- a/Bacpac/Backup-NavContainerDatabases.ps1 +++ b/Bacpac/Backup-NavContainerDatabases.ps1 @@ -49,7 +49,7 @@ try { } $containerBakFolder = Get-BcContainerPath -containerName $containerName -path $bakFolder -throw - Invoke-ScriptInBcContainer -containerName $containerName -ScriptBlock { Param($containerBakfolder, $bakFolder, $tenant, $databasecredential, $compress) + Invoke-ScriptInBcContainer -containerName $containerName -usesession:$false -usepwsh:$false -ScriptBlock { Param($containerBakfolder, $bakFolder, $tenant, $databasecredential, $compress) function Backup { Param ( @@ -67,7 +67,7 @@ try { Write-Host "Backing up $database to $bakFile" $params = @{} if ($compress) { $params += @{ "CompressionOption" = "On" } } - if ($databaseCredential) { $params += @{ "credential" = $databaseCredential } } + if ($databaseCredential) { $databaseCredential.Password.MakeReadOnly(); $params += @{ "credential" = $databaseCredential } } Backup-SqlDatabase -ServerInstance $serverInstance -database $database -BackupFile $bakFile @params } diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 9148b01df..288cc2807 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,7 @@ +6.0.19 +Issue #3560 Backup-BcContainerDatabases fails - password must be marked as read only bug +Issue #3559 ALCops can't find "Business Foundation" app and doesn't start because of it + 6.0.18 Use altool from prerelease AL Language extension Display disk free inside container on error diff --git a/Version.txt b/Version.txt index 5e2167db7..127b8356c 100644 --- a/Version.txt +++ b/Version.txt @@ -1 +1 @@ -6.0.18-dev +6.0.19-dev