cloudfoundry / cloudfoundry/stratos

It failed to search by using the filter with GB18030 characters in Organization Quotas and Organization views.

Open
#4,892 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

community
Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Stratos Version

4.4.0

Frontend Deployment type
  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • npm run start
  • Other (please specify below)
Backend (Jet Stream) Deployment type
  • Cloud Foundry Application (cf push)
  • Kubernetes, using a helm chart
  • Docker, single container deploying all components
  • Other (please specify below)
Expected behaviour

Can use the filter with GB18030 characters to search in Organization Quotas.

Actual behaviour

It failed to search by using the filter with GB18030 characters in Organization Quotas.

Steps to reproduce the behavior
  1. Create an Organization Quotas and input the Quota name with GB18030 characters, for example: '㘎€b㐅㐆ᠤꀍ༖瞳༗بةتثخد郂',
    image

  2. In Search by name, type 'default' to search

  3. Got an entry, so the related Organization Quotas entry can be found successfully.

  4. In Search by name, copy GB18030 characters '㘎€b㐅㐆ᠤꀍ༖瞳༗بةتثخد郂' to search,
    image

  5. Cannot locate the correct Organization Quotas entry.

Log output covering before error and any error statements
Insert log hereCopy

image
In step3, use English characters to search, it can get the correct entry and return.
image
Note:
After the step4, English characters will be also failed to search. You need to refresh the web page to continue English characters search.

Detailed Description
Context
Possible Implementation

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the issue in the Organization Quotas and Organization views using the GB18030 string from the report, then inspect the frontend search entry points for how filter input is handled. Verify that the GB18030 value finds the matching entry and that a later English search works without refreshing the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.