Project

General

Profile

Bug #7354

Metacat serializes exception in the middle of a Log

Added by Robert Waltz about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2015-09-15
Due date:
% Done:

100%

Milestone:
CCI-2.0
Product Version:
*
Story Points:
Sprint:

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

mn-demo-6-log.out (219 KB) Robert Waltz, 2015-09-15 19:49

History

#1 Updated by Jing Tao about 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 about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

#3 Updated by Jing Tao about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100

Robert tested and it worked with him.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)