Bug #652
Metacat will not create document with guid that ends in .\d+
Start date:
Due date:
% Done:
100%
Milestone:
None
Product Version:
*
Story Points:
Sprint:
Description
Metacat will not create document with guid that ends in .\d+
History
#1 Updated by Chad Berkley over 14 years ago
- Status changed from New to In Progress
#2 Updated by Chad Berkley over 14 years ago
- Status changed from In Progress to Closed
Metacat seems to be handling this case fine. The unit test was failing for several reasons. 1) the user was not logged in. you must be logged in (have a valid, non-public token) to run create(). 2) the test was attempting to insert the same document with the same identifier multiple times. you must provide a unique id on create().
I modified the unit test to show that create will work with a guid of the form xxx.\d.\d(.\d)+
let me know if there are further problems with this and I'll take a look. closing this bug for now.