Bug #7354
Metacat serializes exception in the middle of a Log
100%
Description
On cn-dev-ucsb-1.test.dataone.org, I can run the following curl command.
curl --trace curl.out --cert /etc/dataone/client/private/cnDevUCSB1.pem "https://mn-demo-6.test.dataone.org/knb/d1/mn/v2/log?fromDate=2015-04-22T08:03:49.196%2B00:00&toDate=2015-05-28T18:02:51.897%2B00:00&start=4000&count=1000"
The output is attached as a file.
The short version of this file is at the end is xml such as:
20698<?xml version="1.0" encoding="UTF-8"?>null value for element "event" from object of type org.dataone.service.types.v2.LogEntry
History
#1 Updated by Jing Tao over 9 years ago
If the event string is null, we will set it to "unknow" in the log entry. The above curl command worked for me.
Robert, would you please test it again? Note: i just updated the mn-demo-6.
#2 Updated by Jing Tao over 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
#3 Updated by Jing Tao over 9 years ago
- Status changed from In Progress to Closed
- % Done changed from 30 to 100
Robert tested and it worked with him.