#83 PID not generated during object ingest using REST API

Fedora 3.0
closed-fixed
Bill Branan
8
2008-08-12
2008-08-11
Bill Branan
No

Performing an ingest with object XML through the REST API does not generate a PID if one is not provided. A PID is only generated when no object content is included in the request. When object content is available, the PID is assumed to be included, which is not always the case.

Attempting to perform an ingest through the REST API with FOXML that does not specify the PID results in the error:

javax.ws.rs.WebApplicationException: fedora.server.errors.LowlevelStorageException: PID delimiter (:) is missing. PID delimiter (:) is missing. at fedora.server.rest.BaseRestResource.handleException(BaseRestResource.java:98) at fedora.server.rest.FedoraObjectResource.createObject(FedoraObjectResource.java:402)

This bug was originally reported by Rudi Stouffs.

Discussion

  • Bill Branan
    Bill Branan
    2008-08-12

    Logged In: YES
    user_id=1987639
    Originator: YES

    Bug fixed in Fedora REST trunk, updated jar added to trunk.

     
  • Bill Branan
    Bill Branan
    2008-08-12

    • status: open --> closed-fixed