Bug 40065 - Search for patron - error
Summary: Search for patron - error
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-04 03:50 UTC by Igor A. Sychev
Modified: 2025-06-05 08:14 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor A. Sychev 2025-06-04 03:50:44 UTC
When searching for "Search for patron", the message "502: error" is returned.

/cgi-bin/koha/members/members-home.pl

1. Result - 502: error
Search: Остапенко
Search field: Standard

2. Patrons found for: Standard starting with 'Остап'
Search: Остап
Search field: Standard

Result:
Остапенко, Эвелина
Шимко, Остап

3. Patrons found for: Surname starting with 'Остапенко'
Search: Остапенко
Search field: Surname

Result:
Остапенко, Эвелина
Comment 1 Jonathan Druart 2025-06-04 07:30:41 UTC
502 is "bad gateway". Did you restart the services (memcached, apache2, koha-common)?
Comment 2 Katrin Fischer 2025-06-04 11:12:50 UTC
Also: which version of Koha?
Comment 3 David Nind 2025-06-04 11:15:38 UTC
I can't replicate on the current main (using koha-testing-docker).
Comment 4 Igor A. Sychev 2025-06-05 02:12:29 UTC
I was restarting all the services. I also did a reboot.
24.11.03  
25.05.00
Comment 5 Igor A. Sychev 2025-06-05 08:14:10 UTC
4. Patrons found for: Standard starting with 'Сычев'

Result: 
Сычев, Игорь Алексеевич
Сычева, Анастасия Андреевна

Assumption. 
The error occurs if only one patron is found in the search results.