Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom search queries failure if spaces include #2462

Closed
shnrndk opened this issue Feb 8, 2024 · 1 comment
Closed

Custom search queries failure if spaces include #2462

shnrndk opened this issue Feb 8, 2024 · 1 comment
Assignees
Labels
4.3.0-alpha 4.3.0 BugFixing Tracks the bugs to be fixed for APIM 4.3.0 release Component/APIM Type/Bug
Milestone

Comments

@shnrndk
Copy link

shnrndk commented Feb 8, 2024

Description

After introduction of the feature PR[1] we have included this logic if the query starts with name or description then we replace all the spaces with %20 string. This was happened to pizzashackapi default search query as well. But we have added condition to check if it is not equal to default query then only it will check the second condition.

Failed sample custom query: name:testApi version:1.0 context:testApi

[1] wso2/carbon-apimgt#12200

Steps to Reproduce

1.) Create api called testApi.
2.) Invoke this rest api
https://localhost:9443/api/am/publisher/v4/search?limit=1&offset=0&query=name%3AtestApi%20version%3A1.0%20context%3AtestApi

Affected Component

APIM

Version

APIM 4.3.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@tharikaGitHub
Copy link
Member

Closing as the issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.3.0-alpha 4.3.0 BugFixing Tracks the bugs to be fixed for APIM 4.3.0 release Component/APIM Type/Bug
Projects
None yet
Development

No branches or pull requests

2 participants