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

Cannot look up a value of a custom property if the search considers uppercase letters #17559

Closed
PedroCozzati opened this issue Aug 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working UI UI specific issues

Comments

@PedroCozzati
Copy link

PedroCozzati commented Aug 22, 2024

Affected module
Advanced Search - Custom properties

Describe the bug

When trying to search for assets based on a value of a custom property, if the search is done with uppercase letters, nothing is found, however, If you search the same value as LowerCase the advanced search works correctly

To Reproduce

  1. Have a custom property with the value starting with an uppercase letter
    image

  2. Try searching for the asset by the value of the custom property using advanced search
    image

  3. The result should be this (Nothing found)
    image

Expected behavior
It was supposed to have found the asset that has this value in the custom property "govDominio"

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: 1.3.2
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context
Searching everything lowercase works correctly, so the root of the problem may involve string manipulation
image

Other related issues

  1. It also doesn't work very well if the value is made up of two words due to the space between them

  2. The character "-" in place of the space also has the same result (not found)

It is probably not limited to just these cases

@Sachin-chaurasiya Sachin-chaurasiya added UI UI specific issues bug Something isn't working labels Aug 23, 2024
@Ashish8689
Copy link
Contributor

Above issue is fixed with this PR in 1.6.2 #19113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI UI specific issues
Projects
None yet
Development

No branches or pull requests

3 participants