Project

General

Profile

Actions

Bug #448

closed

FileSystemDataStore class not configured for binary files

Added by Dan Higgins over 22 years ago. Updated over 22 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)

Actions #1

Updated by Matt Jones over 22 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.

Actions #2

Updated by Matt Jones over 22 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.

Actions #3

Updated by Dan Higgins over 22 years ago

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

Actions #4

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 448

Actions

Also available in: Atom PDF