Changing 'results per page' fails: 'Something went wrong'
Affected module UI
Describe the bug Changing the 'results per page' fails in some cases. Produced Error message: 'Something went wrong' and 'Cannot read properties of undefined (reading 'localeCompare')'
To Reproduce
- Click on Observability > Data Quality
- Select Tab 'By Test Suites'
- Select a Test Suite
- Click on 'NAME' to sort ascending
- Then below click on '15/Page' and change the drop-down value to '50/Page'
Result: error message.
Expected behavior Expected: 50 results per page, sorted ascending on 'NAME'
Version:
- OS: Windows 2022 Server
- Python version: 3.8.10
- OpenMetadata version: 1.4.0
- OpenMetadata Ingestion package version: n/a
Hello @sandervanlaar, Could you please share a screen recording of the error? We followed the provided steps but did not encounter any issues.
https://github.com/open-metadata/OpenMetadata/assets/71748675/bbe03fda-451c-4766-b11a-8540eecf8ac7
You did not select a single Test Suite first, then Click on Name to sort, then select one of the other number of results per page. Then I get the error message.
You could also try: Data Quality > By Test Cases; sort Name (by clicking on the header); Select '50/Page' or '25/Page' --> error message: Something went wrong Cannot read properties of undefined (reading 'localeCompare')
I just found out that this issue also occurs in the Collate Sandbox v1.4.7.
- Click on Observability > Data Qualty
- Select 'By Test Cases'
- Click on column name 'NAME' to order on this column name
- At the bottom of the page, click on 'Next'
- Result: error message 'Something went wrong'