Bug 40433

Summary: Missing maxLength in item, patron and library
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: REST APIAssignee: Jonathan Druart <jonathan.druart>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: tomascohen
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 40176, 40177, 40178    
Bug Blocks: 40430, 40434    
Attachments: Bug 40433: Add missing maxLength to item, library and patron
Bug 40433: Add missing maxLength to item, library and patron

Description Jonathan Druart 2025-07-17 12:30:56 UTC
The test added in xt/api.t was not fully accurate, we skipped the columns that have the same name as the api attribute (ie. the ones not part of to_api_mapping
Comment 1 Jonathan Druart 2025-07-17 12:32:04 UTC
Created attachment 184192 [details] [review]
Bug 40433: Add missing maxLength to item, library and patron

The test added in xt/api.t was not fully accurate, we skipped the columns that have the same name as the api attribute (ie. the ones not part of to_api_mapping)

Test plan:
prove xt/api.t should pass
Comment 2 Owen Leonard 2025-07-17 16:48:35 UTC
Created attachment 184236 [details] [review]
Bug 40433: Add missing maxLength to item, library and patron

The test added in xt/api.t was not fully accurate, we skipped the
columns that have the same name as the api attribute (ie. the ones not
part of to_api_mapping)

Test plan:
prove xt/api.t should pass

Signed-off-by: Owen Leonard <oleonard@myacpl.org>