Revision 7058
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/D1NodeService.java | ||
---|---|---|
427 | 427 |
|
428 | 428 |
// handle Metacat -> DataONE event conversion |
429 | 429 |
if (eventS.equalsIgnoreCase("insert")) { |
430 |
eventS = Event.CREATE.toString();
|
|
430 |
eventS = Event.CREATE.xmlValue();
|
|
431 | 431 |
} |
432 | 432 |
Event e = Event.convert(eventS); |
433 | 433 |
if (e == null) { // skip any events that are not Dataone Crud events |
Also available in: Unified diff
use Event.CREATE.xmlValue() when converting "insert" to "create"
http://redmine.dataone.org/issues/2471