User membership allows search when entering a space, which seems to bring back all records

Description

I was testing and while the search button is disabled until something is entered into the search field, it becomes enabled even if only a space is entered and seems to pull all records. This defeats the fix in SAK-45634.

Activity

Show:

Andrea Schmidt January 20, 2022 at 12:32 AM

Verified on 22x: https://qa22-mysql.nightly.sakaiproject.org/, build: 1502c3eb

Andrea Schmidt January 17, 2022 at 10:32 PM

Verified on 23x: https://trunk-mysql.nightly.sakaiproject.org/, build: c9f811ba

Just a space no longer enables the search button. Also tested adding a space before and after the username and it is trimmed and a search can be performed

Automation for Jira January 14, 2022 at 2:48 PM

A pull request has been created, "SAK-46746 UserMembership: Don't active search button for space", you can see it at https://github.com/sakaiproject/sakai/pull/10158

Fixed

Details

Priority

Affects versions

Fix versions

22 Status

Verified

Components

Assignee

Reporter

Environment

nightly servers
Created January 4, 2022 at 10:45 PM
Updated January 20, 2022 at 12:32 AM
Resolved January 17, 2022 at 10:33 PM