UKGovLD / ukl-registry-poc

Workspace for design of UKGovLD registry proof-of-concept
Apache License 2.0
17 stars 2 forks source link

Erroneous partial registration occurs when payload includes owl:versionInfo statement #78

Open 6a6d74 opened 11 years ago

6a6d74 commented 11 years ago

In experimenting with methods to upload ontologies to the register I decided to look at using /-pattern URIs.

See http://ukgovld-registry.dnsalias.net/codes/bufr4/schema7

As a hangover from previous incarnations, the uploaded TTL included an owl:versionInfo statement.

The webUI reported an error on upload; complaining about the line with the owl:versionInfo statement (albeit a vague error that I can't remember the text of).

So I fixed the problem in the file (removed the owl:versionInfo statement) and tried to upload again.

This time the webUI reported the following error:

Action failed: Forbidden - Item already registered at request location: http://ukgovld-registry.dnsalias.net/codes/bufr4/schema7/_core

Clearly the previous upload had got partially complete to the point where I can't now load something in that space.

Seems like the registration process should ignore owl:versionInfo from the payload (& push a warning to the log?)

der commented 11 years ago

Partial registration can also occur with batch uploads where a member of a batch is rejected.

In the absence of a delete action (ISSUE #65) this is a difficult failure to recover from.