Skip to content

Commit

Permalink
Ps7bugs9 (#3561)
Browse files Browse the repository at this point in the history
Fixes #3560
Fixes #3559

---------

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk authored May 30, 2024
1 parent a41ed17 commit d6b3dae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions AppHandling/Compile-AppInNavContainer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions Bacpac/Backup-NavContainerDatabases.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -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
}

Expand Down
4 changes: 4 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.18-dev
6.0.19-dev

0 comments on commit d6b3dae

Please sign in to comment.