webapi doesn’t show items that don’t use ppn as identifier

Bug #1032182 reported by Matthias Ronge
6
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><identifier>testMai10_082346</identifier><title>Anleitung zur Erkennung und genauen Prüfung aller in der neuen Auflage der deutschen Pharmacopoe aufgenommenen Stoffe</title></goobiProcess>

Hence, the API should be able to reply to the command: …/rest/processes/testMai10_082346

but this returns “Given string is not a valid PPN identifier.”

Related branches

Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

Fix should be: remove of PPN validation of given input string as input could but must not be a PPN.

Changed in goobi-production:
status: New → Confirmed
importance: Undecided → Low
Changed in goobi-production:
status: Confirmed → Triaged
importance: Low → High
assignee: nobody → Henning Gerhardt (henning-gerhardt)
Revision history for this message
Henning Gerhardt (henning-gerhardt) wrote :

Remark: Identifier used for output and getting step information must be stored in workpieces property called "PPN digital a-Satz" or "PPN digital f-Satz"!

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

There is a general design problem underlying here. See bug #1033580 for more on this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.