Skip to content

[Bug]: Application dependency set to 18.0.0.0 even though it is 15.0 #2140

@Mkublbock

Description

@Mkublbock

AL-Go version

8.2

Describe the issue

We just created a new repository for one of our old on-premise apps with version 15.
We have an app and a test app
both have the platform and application in app.json set to 15.0.0.0

in AL-Go/settings.json we have "artifact": "/Onprem/15.0/at/latest"

However, the pipeline still says "Application Dependency 18.0.0.0" in "Determine ArtifactUrl". This then leads to the following error when compiling the apps:
Error: Unexpected error when running action. Error Message: Application dependency is set to 18.0.0.0, which isn't compatible with the artifact version 15.0.36626.36675, StackTrace: at AnalyzeRepo, C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v8.2\AL-Go-Helper.ps1: line 668 <- at <ScriptBlock>, C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v8.2\RunPipeline\RunPipeline.ps1: line 118 <- at <ScriptBlock>, C:\actions-runner\_work\_temp\1a5cca64-d655-40cc-a7dc-98a2939c5b37.ps1: line 3 <- at <ScriptBlock>, C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v8.2\Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, C:\actions-runner\_work\_temp\1a5cca64-d655-40cc-a7dc-98a2939c5b37.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1

How can we tell the pipeline we actually want to use version 15.0.0.0

logs.txt

Expected behavior

Pipeline should recognize artifact version 15.0.0.0 and successfully compile the apps

Steps to reproduce

Create a new repository with apps for version 15.0.0.0
Start CI/CD build

Additional context (logs, screenshots, etc.)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions