Project

General

Profile

Actions

Feature #6414

closed

Reject an insert or update/upload if the docid has white spaces in metacat api

Added by Jing Tao about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/10/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

I have a task to handle white spaces in the pids in the dataone production environment:
https://redmine.dataone.org/issues/3492

I checked the code in the create and update method in the member node API of DataONE and found that the document will be rejected if its pid has white spaces.

So I believe those came from the Metacat API. I would like to add the enforcement that Metacat will reject a document if its docid contains white spaces in the inser/upload and update.

If you have any concern, please let me know.

Actions #1

Updated by Jing Tao about 10 years ago

  • Status changed from New to Closed
  • Assignee set to Jing Tao

We added the code in the handleUpload, handleInsertOrUpdate and handleMultiPartInsertAction methods to enforce there is no white spaces in the docid.

Actions

Also available in: Atom PDF