[Bug 40175] New: Missing maxLength to REST API specs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug ID: 40175 Summary: Missing maxLength to REST API specs Change sponsored?: --- Product: Koha Version: 24.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com We do not specify the maxLength at the REST API specs level, even if the DB has one defined. Both must match. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Missing maxLength to REST |[OMNIBUS] Missing maxLength |API specs |to REST API specs Version|24.11 |unspecified -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40176, 40177, 40178, 40179 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Bug 40176 - Add maxLength to the item definition Bug 40177 - Add maxLength to the library definition Bug 40178 - Add maxLength to the patron definition Bug 40179 - Add maxLength to the patron's category definition Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40176 [Bug 40176] Add maxLength to the item definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40177 [Bug 40177] Add maxLength to the library definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40178 [Bug 40178] Add maxLength to the patron definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40179 [Bug 40179] Add maxLength to the patron's category definition -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40434 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40434 [Bug 40434] Add maxLength to the vendor definition -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40511 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40511 [Bug 40511] Add maxLength to the eHoldings title definition -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40512 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40512 [Bug 40512] Add maxLength to the erm agreements definition -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nugged@gmail.com --- Comment #2 from Andrii Nugged <nugged@gmail.com> --- to expand a little on comment from child bug about usability: (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40176#c10)
on Kohas with MANY wrong barcodes this change (very strict) prevented it from loading a number of bibilios and that stopped whole Koha department from work for a while: required everyone to fix the barcodes in one day otherwise it blocks the usage.
... might also be applicable to other parameters, so if there will be some strict changes and that make Koha broken because of not accurate data, our users get stuck even not knowing why koha started to crash or at least urgently spending all time fixing bad data, might be massive job, at least people should be warned before upgrade much more in advance, or we should do gradual updates first with warnings (yet that hard to do if we just rely on length check in API and return API error on mismatch). (thinking aloud) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 --- Comment #3 from Andrii Nugged <nugged@gmail.com> --- to expand a little on comment from child bug about usability: (https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40176#c10)
on Kohas with MANY wrong barcodes this change (very strict) prevented it from loading a number of bibilios and that stopped whole Koha department from work for a while: required everyone to fix the barcodes in one day otherwise it blocks the usage.
... might also be applicable to other parameters, so if there will be some strict changes and that make Koha broken because of not accurate data, our users get stuck even not knowing why koha started to crash or at least urgently spending all time fixing bad data, might be massive job, at least people should be warned before upgrade much more in advance, or we should do gradual updates first with warnings (yet that hard to do if we just rely on length check in API and return API error on mismatch). (thinking aloud) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug 40175 depends on bug 40177, which changed state. Bug 40177 Summary: Add maxLength to the library definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40177 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug 40175 depends on bug 40178, which changed state. Bug 40178 Summary: Add maxLength to the patron definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40178 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug 40175 depends on bug 40179, which changed state. Bug 40179 Summary: Add maxLength to the patron's category definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40179 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug 40175 depends on bug 40176, which changed state. Bug 40176 Summary: Add maxLength to the item definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40176 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40175 Bug 40175 depends on bug 40434, which changed state. Bug 40434 Summary: Add maxLength to the vendor definition https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40434 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org