Skip to content

[Bug]: CI/CD Extension compilation failed when using TrustedNuget #2174

@thatnavguy

Description

@thatnavguy

AL-Go version

8.3

Describe the issue

I am trying to use TrustedNuGetFeeds to fetch RunTime Package from third party.

"TrustedNuGetFeeds": [
{
"url": "https://nuget.pkg.github.com/Aptean-Food-Beverage-ERP/index.json",
"AuthTokenSecret": "APTEAN_NUGET_TOKEN"
}

The CI/CD managed to download the runtime packages, but failed when compiling my app.
what is the reason for the error? did I configure it wrong?

Error: Unexpected error when running action. Error Message: Extension compilation failed src/ATP/Query/ILEInventory.Query.al(17,38): error AL0345: The source of a Column or Filter must be a field defined on the table referenced by its parent DataItem src/ATP/codeunit/ATPMgt.Codeunit.al(38,35): error AL0185: Table 'ItemExpSetupPerSourceFDW' is missing src/ATP/codeunit/ATPMgt.Codeunit.al(73,31): error AL0185: Table 'InspectionStatusLineFDW' is missing src/ATP/Query/ILEExpiration.Query.al(12,38): error AL0345: The source of a Column or Filter must be a field defined on the table referenced by its parent DataItem, StackTrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 116 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 394 <- at Publish-BcContainerApp, C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Publish-NavContainerApp.ps1: line 154 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1192 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2565 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2531 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2515 <- at , C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1285 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1270 <- at , D:\a_actions\microsoft\AL-Go-Actions\v8.3\RunPipeline\RunPipeline.ps1: line 522 <- at , D:\a_temp\22d06d91-d3ee-4c79-a928-098df50be980.ps1: line 3 <- at , D:\a_actions\microsoft\AL-Go-Actions\v8.3\Invoke-AlGoAction.ps1: line 21 <- at , D:\a_temp\22d06d91-d3ee-4c79-a928-098df50be980.ps1: line 2 <- at , : line 1

My app is using fields from these third party apps:
{
"id": "8dc4ee16-bb08-4117-afb0-891c0ef74f25",
"name": "Aptean Expiration Management for Food and Beverage",
"publisher": "Aptean",
"version": "26.0.0.0"
},
{
"id": "2c87fcd8-c5ae-406f-bc35-a6d2b7fd7892",
"publisher": "Aptean",
"name": "Aptean Inspection Status for Food and Beverage",
"version": "26.0.0.0"
},
{
"id": "1a06f0da-5a4d-4a2f-bce2-c04530adac17",
"name": "Aptean Foundation Layer for Food and Beverage",
"publisher": "Aptean",
"version": "26.0.0.0"
}

Expected behavior

Successful CI/CD process.

Steps to reproduce

Run the CI/CD action.

Additional context (logs, screenshots, etc.)

job-logs.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions