[Koha-bugs] [Bug 40065] Search for patron - error

2025-09-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

Paul Derscheid  changed:

   What|Removed |Added

 CC||[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-09-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

Jonathan Druart  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #10 from Jonathan Druart  ---
Closing, please reopen if still valid.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-09-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #9 from David Nind  ---
I can't replicate the error at all today, I even tried on 24.11.x!

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-09-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #8 from Jonathan Druart  ---
(In reply to David Nind from comment #7)
> Error logs:
>   ==> /var/log/koha/kohadev/plack-api-error.log <==
>   [2025/08/29 23:15:43] [WARN] OpenAPI >>> GET api/v1/patrons
> [{"message":"Expected integer - got
> boolean.","path":"\/body\/0\/privacy_guarantor_checkouts"},{"message":
> "Expected integer - got
> boolean.","path":"\/body\/1\/privacy_guarantor_checkouts"}]

This should be fixed by

commit aea3b3c7002630489190fe6ea582757e1497b692

Bug 39835: (follow-up) Fix API specs to check for boolean


modified: api/v1/swagger/definitions/patron.yaml

@ api/v1/swagger/definitions/patron.yaml:323 @ properties:
 type: integer
 description: patron's privacy settings related to their checkout history
   privacy_guarantor_checkouts:
-type: integer
+type: boolean

Can you confirm you get this error even after `yarn api:bundle && restart_all`?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-08-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #7 from David Nind  ---
For what it is worth (and I don't know the answer to why this is happening),
testing on the current main using koha-testing-docker:

1. I created these patrons in the 'Patron' category (no other data added, apart
from adding a card number):
   1.1 Surname = Остапенко
   1.2 Surname = Остапенко Firstname = Эвелина
   1.3 Surname = Шимко Firstname = Остап
   1.4 Surname = Сычев Firstname = Игорь Алексеевич
   1.5 Surname = Сычева Firstname = Анастасия Андреевна

2. The DefaultPatronSearchFields system preference is set to the default:
"firstname|preferred_name|middle_name|surname|othernames|cardnumber|userid" 

3. If I do the first search in the description comment, I get a 500 server
error in a pop-up window and a "Processing..." message.

Search result, using the search in the sidebar with Search field = as per
search, Search type = Starts with, Category =Any, Library = Any):

Search:
   - Search: Остапенко
   - Search field: Standard

Result - pop-up message: 
  Something went wrong when loading the table.
  500: Internal Server Error.
  Expected integer - got boolean.
  Expected integer - got boolean.

Browser developer tools console error:
  Got 500 (Internal Server Error)
  DataTables warning: table id=memberresultst - Ajax error. For more
information about this error, please see https://datatables.net/tn/7

Error logs:
  ==> /var/log/koha/kohadev/plack-api-error.log <==
  [2025/08/29 23:15:43] [WARN] OpenAPI >>> GET api/v1/patrons
[{"message":"Expected integer - got
boolean.","path":"\/body\/0\/privacy_guarantor_checkouts"},{"message":"Expected
integer - got boolean.","path":"\/body\/1\/privacy_guarantor_checkouts"}]

I get similar messages for the other searches, except there may be more
"Expected integer - got boolean" messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-08-22 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #6 from Igor A. Sychev  ---
Update Koha 24.11.07 and 25.05.02
Perhaps some data is missing? 
What should I pay attention to?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-06-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #5 from Igor A. Sychev  ---
4. Patrons found for: Standard starting with 'Сычев'

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #4 from Igor A. Sychev  ---
I was restarting all the services. I also did a reboot.
24.11.03  
25.05.00

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

David Nind  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #3 from David Nind  ---
I can't replicate on the current main (using koha-testing-docker).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #2 from Katrin Fischer  ---
Also: which version of Koha?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40065] Search for patron - error

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

Jonathan Druart  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Jonathan Druart  ---
502 is "bad gateway". Did you restart the services (memcached, apache2,
koha-common)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/