Skip to content

[Bug]: Edit Policy Page Shows "Unknown Task" #103

Description

@shanchunyang0919

Bug Description

When a policy is created for the MCP and assigned to an A2A agent with one of the MCP tasks selected, attempting to edit the policy and reassign it back to the MCP results in the tasks field being displayed as "Unknown".

Image

Expected Behavior

It should only show "Invoke A2A agent".

Affected Version

v1.0.0

Steps to Reproduce

Reproduction steps:

  1. Create two badges: one for the Weather MCP server and one for the A2A agent.
  2. Create a policy and assign it to the A2A agent, selecting the get_weather task, which is one of the tools of the Weather MCP.
  3. Navigate to the Policies page by clicking the "Policy" button in the sidebar, and attempt to edit the policy you created earlier.
  4. Attempt to assign that policy to the MCP server.
  5. Observe that the tasks in the UI are displayed as "Unknown".

Checklist

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

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