webapi doesn’t show items that don’t use ppn as identifier
Bug #1032182 reported by
Matthias Ronge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Goobi.Production | Status tracked in 1.10 | |||||
1.10 |
New
|
Undecided
|
Unassigned | |||
1.8 |
Fix Released
|
High
|
Henning Gerhardt |
Bug Description
The WebAPI lists all processes with their respective identifiers, but cannot show a process if PPN wasn’t used upon process creation (e.g. when goobi wasn’t used along with a PICA catalogue). Instead, a “Given string is not a valid PPN identifier.” message is returned.
Example: When calling …/rest/processes you get:
…<goobiProcess>
Hence, the API should be able to reply to the command: …/rest/
but this returns “Given string is not a valid PPN identifier.”
Related branches
lp:~slub.team/goobi-production/bug-1032182
- Matthias Ronge (community): Approve
- Ralf Claussnitzer (community): Approve
-
Diff: 266 lines (+18/-157)4 files modifiedsrc/org/goobi/webapi/beans/IdentifierPPN.java (+0/-61)
src/org/goobi/webapi/dao/GoobiProcessDAO.java (+14/-12)
src/org/goobi/webapi/resources/Processes.java (+4/-5)
test/src/org/goobi/webapi/beans/IdentifierPPNTest.java (+0/-79)
Changed in goobi-production: | |
status: | Confirmed → Triaged |
importance: | Low → High |
assignee: | nobody → Henning Gerhardt (henning-gerhardt) |
To post a comment you must log in.
Fix should be: remove of PPN validation of given input string as input could but must not be a PPN.