Skip to content

Commit

Permalink
3 small bug fixes (#3556)
Browse files Browse the repository at this point in the history
Issue 3544 Copy-AlSourceFiles.ps1 does not copy RDLC and DOCS Files with
the new report layout definition
Issue 3550 Run-AlValidation is checking wrong runtime version
Issue 3555 Increase default timeout

Fixes #3544
Fixes #3550
Fixes #3555

---------

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk authored May 27, 2024
1 parent 818ffc3 commit 34da6b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AppHandling/Copy-AlSourceFiles.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ try {
if ($type -eq "report") {
0..($content.Count-1) | % {
$line = $content[$_]
if ($line.Trim() -like "RDLCLayout = '*';" -or $line.Trim() -like "WordLayout = '*';") {
if ($line.Trim() -like "RDLCLayout = '*';" -or $line.Trim() -like "WordLayout = '*';" -or $line.Trim() -like "LayoutFile = '*';") {
$startIdx = $line.IndexOf("'")+1
$endIdx = $line.LastIndexOf("'")
$layoutFilename = $line.SubString($startIdx, $endIdx-$startIdx)
Expand Down
2 changes: 1 addition & 1 deletion AppHandling/Run-AlCops.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function Run-AlCops {
}
}

Extract-AppFileToFolder -appFilename $appFile -appFolder $tmpFolder -generateAppJson -excludeRuntimeProperty -latestSupportedRuntimeVersion $latestSupportedRuntimeVersion
Extract-AppFileToFolder -appFilename $appFile -appFolder $tmpFolder -generateAppJson -latestSupportedRuntimeVersion $latestSupportedRuntimeVersion
$appJson = [System.IO.File]::ReadAllLines((Join-Path $tmpFolder "app.json")) | ConvertFrom-Json

$ruleset = $null
Expand Down
4 changes: 2 additions & 2 deletions BC.HelperFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function Get-ContainerHelperConfig {
"useSharedEncryptionKeys" = $true
"DOCKER_SCAN_SUGGEST" = $false
"psSessionTimeout" = 0
"artifactDownloadTimeout" = 300
"defaultDownloadTimeout" = 100
"artifactDownloadTimeout" = 600
"defaultDownloadTimeout" = 120
"baseUrl" = "https://businesscentral.dynamics.com"
"apiBaseUrl" = "https://api.businesscentral.dynamics.com"
"mapCountryCode" = [PSCustomObject]@{
Expand Down
3 changes: 3 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Display disk free inside container on error
Create AppInfo cache on creating a new compiler folder
Add support for using `TestCodeunitRangeFilter` field in `Run-TestsInBcContainer` and `Get-TestsFromBcContainer`
Issue 3206 Auto-Consent the Permissions requested after using New-AadAppsForBc
Issue 3544 Copy-AlSourceFiles.ps1 does not copy RDLC and DOCS Files with the new report layout definition
Issue 3550 Run-AlValidation is checking wrong runtime version
Issue 3555 Increase default timeout

6.0.17
Issue 3518 If WinRm is not running on the host, a container couldn't be created
Expand Down

0 comments on commit 34da6b7

Please sign in to comment.