Project

General

Profile

Task #6568

Create or update a metadata object without altering content

Added by Jing Tao about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2014-11-13
Due date:
2014-11-14
% Done:

100%

Estimated time:
0.00 h
Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

MN.create, MN.update and CN.create changed the InputStream object to String base on the encoding declared in xml prolog. However, if the encoding declaration is wrong, the content will be modified. The code was changed to save the input stream object directly.

The replication among Metacats had the same issue. It was fixed.


Related issues

Related to Infrastructure - Bug #6391: Science metadata files with different checksums on CN and MN - encoding Closed 2014-11-04 2015-01-06

History

#1 Updated by Jing Tao about 10 years ago

  • Status changed from In Progress to Testing

#2 Updated by Jing Tao about 10 years ago

  • Target version changed from CCI-1.5.0 to CCI-1.5.1

#3 Updated by Jing Tao about 10 years ago

  • Parent task set to #6391

#4 Updated by Jing Tao about 10 years ago

  • Estimated time set to 0.00

#5 Updated by Jing Tao about 10 years ago

  • Parent task deleted (#6391)

#6 Updated by Jing Tao about 10 years ago

  • Target version changed from CCI-1.5.1 to CCI-1.5.0

#7 Updated by Jing Tao about 10 years ago

Test in the sandbox env, it worked well.

#8 Updated by Jing Tao almost 10 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)