Fix GraphQL API rate limiting dropdown disabling logic#1211
Open
ranuka-laksika wants to merge 1 commit intowso2:mainfrom
Open
Fix GraphQL API rate limiting dropdown disabling logic#1211ranuka-laksika wants to merge 1 commit intowso2:mainfrom
ranuka-laksika wants to merge 1 commit intowso2:mainfrom
Conversation
|
YasasRangika
pushed a commit
to YasasRangika/apim-apps
that referenced
this pull request
Dec 18, 2025
YasasRangika
pushed a commit
to YasasRangika/apim-apps
that referenced
this pull request
Dec 18, 2025
…development iteration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes issue #3724 - Multiple UI issues related to GraphQL APIs
Issue URL: wso2/api-manager#3724
Changes Made
isOperationRateLimiting={!apiThrottlingPolicy}toisOperationRateLimiting={apiThrottlingPolicy === null}Problem Description
When changing from operation level to API level rate limiting for a GraphQL API, operation level rate limiting selection dropdowns were not being disabled immediately. The issue occurred because:
apiThrottlingPolicyis initially set to empty string ('')!apiThrottlingPolicywhich evaluates totruefor empty stringSolution
The fix changes the condition to explicitly check for
nullvalue, which correctly identifies when operation-level rate limiting should be disabled.Build Information
portals/publisher/target/publisher.warArtifact Replacement
publisherfolder in wso2am-4.6.0 packwso2am-4.6.0/repository/deployment/server/webapps/publisherModified wso2am-4.6.0 Pack (GitHub Actions Artifact)
The complete modified
wso2am-4.6.0pack with all updated artifacts has been uploaded as a GitHub Actions artifact.Download Link:
🔗 Download from GitHub Actions Run
Artifact Details:
wso2am-4.6.0-issue-30.zipwso2am-4.6.0-issue-30.zipWhat's included:
publisher.warwith the fix for GraphQL API rate limiting dropdown logicwso2am-4.6.0directory structureTesting
No testing required for frontend repository changes as per workflow guidelines.