Project

General

Profile

Actions

Bug #1240

closed

Old profiles need eml 2 returndoc types

Added by Matthew Brooke over 20 years ago. Updated over 20 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
12/23/2003
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1240

Description

Profiles created in morpho < 1.5aplha1 do not contain:

<returndoc>eml://ecoinformatics.org/eml-2.0.0</returndoc>

...so any eml2 documents saved under these profiles do not subsequently show up
in a search dialog.

Short-term Resolution:
This could possibly be fixed as part of the install step when we next create an
installer?

Long-Term Resolution:
a) Maybe the eml-version-specific impementation of the abstractdatapackage
should have some kind of accessor method to pass return doctypes dynamically to
the query code, instead of storing these in profile settings?

b) If the profile settings need to have these returndoc types in them (so you
can set up a "beta-6 only" profile, for instance??) then maybe the default is to
call the datapackage for a list of return doctypes if a profile xml doc doesn't
exist on disk?

I'd vote for (a) if at all possible

Actions

Also available in: Atom PDF