wso2 / wso2/api-platform

[Bug]: Incorrect Policy invalidates the whole policy chain

Open
#1,416 0 comments 0 reactions 1 assignee View on GitHub

@renuka-fernando is already working on this.

Since Mar 20, 2026.

Area/Gateway Area/Management Aspect/API Severity/Critical Type/Bug
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

Area/Management (Management API or Management Portal UI), Area/Gateway (Routing, API deployment in gateway etc.)

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Description

Incorrect Policy invalidates the whole policy chain which will remove all the existing attached policies for all the APIs.

Steps to Reproduce

In the API Create request define the attached policy version as v0.2 instead correct v0.

This will cause gateway to invalidate current policy chain and disregard all the attached policies.

Severity Level of the Issue

Severity/Critical (Core functionality is broken but there is a workaround. Need urgent attention)

Environment Details (with versions)

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.