Bug 40179

Summary: Add maxLength to the patron's category definition
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: REST APIAssignee: Jonathan Druart <jonathan.druart>
Status: Needs documenting --- QA Contact: Matt Blenkinsop <matt.blenkinsop>
Severity: enhancement    
Priority: P5 - low CC: dcook, fridolin.somers, matt.blenkinsop, tomascohen
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00,25.05.02
Circulation function:
Bug Depends on: 40178    
Bug Blocks: 40174, 40175, 40337    
Attachments: Bug 40179: Adjust tests
Bug 40179: Add maxLength to patron_category spec file
Bug 40179: Adjust tests
Bug 40179: Add maxLength to patron_category spec file
Bug 40179: Adjust tests
Bug 40179: Add maxLength to patron_category spec file

Description Jonathan Druart 2025-06-18 21:19:24 UTC

    
Comment 1 Jonathan Druart 2025-06-19 09:22:05 UTC
Created attachment 183370 [details] [review]
Bug 40179: Adjust tests
Comment 2 Jonathan Druart 2025-06-19 09:22:07 UTC
Created attachment 183371 [details] [review]
Bug 40179: Add maxLength to patron_category spec file

Test plan:
Apply the "tests" patch first
  prove xt/api.t
=> fail
Apply this patch
=> pass
Comment 3 David Nind 2025-07-03 09:24:17 UTC
Created attachment 183728 [details] [review]
Bug 40179: Adjust tests

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2025-07-03 09:24:20 UTC
Created attachment 183729 [details] [review]
Bug 40179: Add maxLength to patron_category spec file

Test plan:
Apply the "tests" patch first
  prove xt/api.t
=> fail
Apply this patch
=> pass

Signed-off-by: David Nind <david@davidnind.com>
Comment 5 Matt Blenkinsop 2025-07-03 10:11:49 UTC
Created attachment 183740 [details] [review]
Bug 40179: Adjust tests

Signed-off-by: David Nind <david@davidnind.com>
Comment 6 Matt Blenkinsop 2025-07-03 10:11:51 UTC
Created attachment 183741 [details] [review]
Bug 40179: Add maxLength to patron_category spec file

Test plan:
Apply the "tests" patch first
  prove xt/api.t
=> fail
Apply this patch
=> pass

Signed-off-by: David Nind <david@davidnind.com>
Comment 7 Lucas Gass (lukeg) 2025-07-08 21:45:48 UTC
Nice work everyone!

Pushed to main for 25.11
Comment 8 Paul Derscheid 2025-07-10 20:50:54 UTC
Nice work everyone!

Pushed to 25.05.x
Comment 9 Fridolin Somers 2025-07-31 12:24:58 UTC
Enhancement not pushed to 24.11.x