https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362003-12-24T17:25:30ZEcoinformatics RedmineMorpho - Bug #1240: Old profiles need eml 2 returndoc typeshttps://projects.ecoinformatics.org/ecoinfo/issues/1240?journal_id=45722003-12-24T17:25:30ZDan Higginshiggins@nceas.ucsb.edu
<ul></ul><p>It looks like the current profile is updated when a new version is installed,<br />but other profiles are not. Another possible fix is simply to update ALL<br />installed profiles when a new version is installed.</p> Morpho - Bug #1240: Old profiles need eml 2 returndoc typeshttps://projects.ecoinformatics.org/ecoinfo/issues/1240?journal_id=45732003-12-24T17:50:06ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>I set the current profile code up to be update config.xml anytime the version<br />string in the code changes. When Morpho first runs it checks if your version of<br />the config.xml corresponds to the version in the morpho app -- if not, it copies<br />a new one for you. So, each of you probably got a new profile when the version<br />was changed, but somehow managed to revert to an old copy of config.xml?</p>
<p>In any case, I agree with Matthew -- there's no reason for the returndoc types<br />to be in the profile now that we have the data package set up as we do. Each<br />subclass of AbstractDataPackage should be able to provide doctype info for the<br />doctypes it can support.</p> Morpho - Bug #1240: Old profiles need eml 2 returndoc typeshttps://projects.ecoinformatics.org/ecoinfo/issues/1240?journal_id=45742004-03-24T19:02:44ZMatt Jonesjones@nceas.ucsb.edu
<ul></ul><p>FIXED. For simplicity, this has been fixed by moving the returndoc,<br />retrunfield, and doctype configuration parameters out of the profile and into<br />the main config.xml file. This means that these settings are now<br />application-wide. This was done in preference to folding the info into the<br />AbstractDataPackage subclasses because it was easier and because that system<br />wouldn't be as flexible with respect to minor version changes. It would also<br />have required changes to config.xml to list the supported types, so was a far<br />more complicated solution. Minimizing unnecessary changes at this point is good.</p> Morpho - Bug #1240: Old profiles need eml 2 returndoc typeshttps://projects.ecoinformatics.org/ecoinfo/issues/1240?journal_id=45752013-03-27T21:16:37ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 1240</p>