Project

General

Profile

Actions

Bug #431

closed

upload method bugs

Added by Dan Higgins almost 23 years ago. Updated over 22 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
02/14/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
431

Description

The upload method in DataPackage class calls the method incrementPackageIds.
This method puts the metadata files into strings which is problematic for very
large packages.
Also, data and metadata are treated identically which causes a problem when
attempts are made to put ids into data file.
Also, upload attempts to see if a file is data by checking whether or not it is
an xml file. This will cause problems if XML is ever used for data.
Should add method to check if file is a data file (using triples).

Actions #1

Updated by Dan Higgins over 22 years ago

modified code to use streams for datafiles rather than strings. Also changed the
method to write new metadata file one at a time, rather than saving all as
strings and then saving. Changed several methods to correctly handle binary data
(ie Streams rather than readers)

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 431

Actions

Also available in: Atom PDF