Skip to content

pac solution import fails for botcomponent with comma in filename #1253

@jan-chlebek

Description

@jan-chlebek

Describe the bug
Running pac solution pack and pac solution import for Copilot Studio agents containing botcomponent (Agent file Attachment)

To Reproduce

  1. Create a solution with an agent containing a file like "Orders, Subscriptions.docx"
  2. Unpack and pack the solution with PAC CLI
  3. Export solution to zip
  4. Try importing the solution with pac solution import

Expected behavior
Solution imports correctly

Screenshots
Import via PAC CLI results in an error:
File not found for file attribute filedata with file name Orders%2C%20Subscriptions.docx. Searched following locations: '/botcomponents/crcd1_agent.file.OrdersSubscriptions.docx_5zN/filedata/Orders%2C%20Subscriptions.docx', '/botcomponent_Orders%2C%20Subscriptions.docx'

Image Image

Desktop (please complete the following information):
Version: 1.49.4+g406813e (.NET Framework 4.8.9221.0)

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