Uploaded image for project: 'Red Hat build of Keycloak'
  1. Red Hat build of Keycloak
  2. RHBK-2573

Events: Wrong text for user id search [GHI#35481]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Before reporting an issue

      [X] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

      Area

      admin/ui

      Describe the bug

      I went to the user and admin events and noticed a text difference in the search function.

      In the User events, the text for the user id is "User ID".
      !grafik

      In the Admin events, the text for the user id is "User".
      !grafik

      This can be misleading, since you could assume that you could search for a username, but it is intended for a user id.

      Version

      26.0.6

      Regression

      [ ] The issue is a regression

      Expected behavior

      The text is "User ID".

      Actual behavior

      The text is "User".

      How to Reproduce?

      1. Get a keycloak instance
      2. Enable user and admin events and generate some of both
      3. Navigate to Events -> User events
      4. Open the search and notice a search field with the text "User ID"
      5. Navigate to Admin events
      6. Open the search and notice a search field with the text "User"

      Anything else?

      The responsible line is in AdminEvents.tsx and either line 248 or line 445... or both.
      It should be "userId" instead of "user", like it is in UserEvents.tsx.

              Unassigned Unassigned
              pvlha Pavel Vlha
              Keycloak UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: