Actions
Feature #6414
closedReject an insert or update/upload if the docid has white spaces in metacat api
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.
Updated by Jing Tao almost 11 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