cloudfoundry / cloudfoundry/stratos

It failed to search by using the filter with GB18030 characters in Services and Applications view.

Open
#4,890 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 Service.

Actual behaviour

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

Steps to reproduce the behavior
  1. Create a User Provided Servce and input the name with GB18030 characters, for example: 'TrafficServive€酮خد㐁ᠡꀈ༑㘚郂'
    image
  2. In Search by name, type 'traffic' to search
  3. Got an entry, so this service can be found successfully.
  4. In Search by name, copy GB18030 characters '€酮خد㐁ᠡꀈ༑㘚郂' to search,
    image
  5. Cannot locate the correct service.
Log output covering before error and any error statements
Insert log hereCopy

image

In step3, use English characters to search, it can get the returned entry.
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

Start by reproducing the issue in the Services and Applications view using the GB18030 example from the steps, then inspect the frontend search and filter path used by that view. Done means GB18030 characters locate the correct service and subsequent English searches continue working without a page refresh.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.