Skip to content

[Bug]: Dependency on app with quotation marks in description break CI/CD pipeline #2225

@Bordersen

Description

@Bordersen

AL-Go version

9.0

Describe the issue

We have a customer with an app dependency for the AppSource App "Circula Expenses Connector to Dynamics 365 Business Central" by Finclair GmbH.
The app broke our CICD pipeline in the compiling step.
The reason seems to be the quotations marks in the app description.

Conversion from JSON failed with error: After parsing a value an unexpected character was encountered: h. Path 'description', line 6, position 1693.

AppSource Link: https://marketplace.microsoft.com/de-DE/product/dynamics-365-business-central/PUBID.finclairgmbh1710173605183%7CAID.finclaircircula28032024%7CPAPPID.536ff3c4-0c4f-4e1d-8dbf-7978f1369e59

Image

I think these characters should be escaped to prevent a broken JSON.

Expected behavior

CICD Pipeline runs with AppSource Apps without problems

Steps to reproduce

Add an app dependency to the "Circula Expenses Connector to Dynamics 365 Business Central" by Finclair GmbH.
Run the CICD Pipeline.

Additional context (logs, screenshots, etc.)

Image

Error: Unexpected error when running action. Error Message: Conversion from JSON failed with error: After parsing a value an unexpected character was encountered: h. Path 'description', line 6, position 1693., StackTrace: at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 124 <- at Compile-AppInBcContainer, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Compile-AppInNavContainer.ps1: line 348 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1303 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2419 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1911 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1906 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1437 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.1.13\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1422 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v9.0\RunPipeline\RunPipeline.ps1: line 491 <- at <ScriptBlock>, D:\a\_temp\044319cf-d430-40d4-a356-f157bfbe4df2.ps1: line 3 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v9.0\Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, D:\a\_temp\044319cf-d430-40d4-a356-f157bfbe4df2.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions