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

Admin UI: Encountering infinite loading when entering non-existent identity/client/tier ids in URL #834

Conversation

stamenione
Copy link
Contributor

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.

Description

Button "Find" is now disabled if the input field is empty. I found that problem when testing this endpoint "/api/v1/Identities/{identityAddress}/DeletionProcesses/AuditLogs", and the test case was the empty string that could be entered.

image

image

This is the Dark mode version of error screen.
image

The Light version.
image

stamenione and others added 18 commits August 29, 2024 08:12
…y-Client-Tier-ID-in-URL' of https://github.com/nmshd/backbone into NMSHDB-198-Problem-when-specifying-non-existent-Identity-Client-Tier-ID-in-URL
…y-Client-Tier-ID-in-URL' of https://github.com/nmshd/backbone into NMSHDB-198-Problem-when-specifying-non-existent-Identity-Client-Tier-ID-in-URL
@stamenione stamenione added bug Something isn't working enhancement New feature or request labels Sep 3, 2024
@jkoenig134 jkoenig134 marked this pull request as draft September 3, 2024 07:04
@tnotheis
Copy link
Member

tnotheis commented Sep 3, 2024

I think I said that several times already, but: titles of PRs with the label bug must contain a description of the error from the perspective of the user. So when writing the title, pretend you're the user who creates a bug report. I'm pretty sure that a user wouldn't talk about an infinite loop.

Also: why does this PR have the label bug and enhancement?

@stamenione stamenione removed the enhancement New feature or request label Sep 3, 2024
@stamenione stamenione changed the title Admin UI: Encounter Infinite Loop When Entering Non-Existent Identity/Client/Tier ID Admin UI: Encountering infinite loading when entering non-existent identity/client/tier ids in URL Sep 3, 2024
mergify bot added 24 commits September 9, 2024 13:57
@tnotheis
Copy link
Member

A manual test was successful. @jkoenig134 If you don't have anything to add, I'm okay with merging it.

@jkoenig134
Copy link
Member

Looks fine for me.

@stamenione stamenione merged commit 5ee1801 into main Sep 20, 2024
23 checks passed
@stamenione stamenione deleted the NMSHDB-198-Problem-when-specifying-non-existent-Identity-Client-Tier-ID-in-URL branch September 20, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants