Project

General

Profile

Bug #448

FileSystemDataStore class not configured for binary files

Added by Dan Higgins almost 18 years ago. Updated almost 18 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
morpho - general
Target version:
Start date:
03/25/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
448

Description

currently, the FileSystemDataStore class is set up to work with 'Reader' object;
i.e. character streams. This causes problems for binary data files like jpeg or
gif images (corrupts the data). Need to revise to handle arbitrary file. (i.e.
streams)

History

#1 Updated by Matt Jones almost 18 years ago

Actually, it is configured for binary data. We definitley support the upload of
binary data files -- uploading images would need to work the same way. So
Morpho will need to send images in the same way that it sends data files. Then
Metacat will handle it properly. If you just send it as if it is an XML file
then it will fail.

#2 Updated by Matt Jones almost 18 years ago

Oops. I htought you were talking about Metacat! If this is a Morpho issue,
then it probably is really an issue! Sorry about my confusion.

#3 Updated by Dan Higgins almost 18 years ago

added new methods which use streams rather than Readers and call the
stream-based methods when working with data files.

#4 Updated by Redmine Admin almost 7 years ago

Original Bugzilla ID was 448

Also available in: Atom PDF