Metacat: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362012-11-26T19:03:32ZEcoinformatics Redmine
Redmine Bug #5750 (Resolved): Index queue and delete action can conflict with one anotherhttps://projects.ecoinformatics.org/ecoinfo/issues/57502012-11-26T19:03:32Zben leinfelderleinfelder@nceas.ucsb.edu
<p>During DataONE CN replication testing, Chris was seeing delete/archive actions fail due to dangling FKs in the xml_index table. I theory is that the asynchronous indexing queue is inserting this entry after the delete action has tried to remove FK references but before the actual xml_documents removal is performed.</p>
<p>I think the long-term solution should be to inspect the index queue during a delete() action and remove the docid from the queue if it is present.</p> Bug #5718 (Resolved): SANParks GIS download returns empty fileshttps://projects.ecoinformatics.org/ecoinfo/issues/57182012-09-25T14:25:09Zben leinfelderleinfelder@nceas.ucsb.edu
<p>The files are intact on the server and can be downloaded manally using the metacat?action=read urls, but the special skin for downloading them does not work.<br />Looks at the "client view helper" code I can see that it is improperly constructing value=key pairs when calling the Metacat servlet. This has been in the code for years, so I'm not sure how it was ever working!</p> Bug #5717 (Resolved): Oracle does not allow table names greater than 30 charactershttps://projects.ecoinformatics.org/ecoinfo/issues/57172012-09-21T15:33:01Zben leinfelderleinfelder@nceas.ucsb.edu
<p>I'm trying to get metacat configured and get errors when running the upgrade-db-to-2.0.0-oracle.sql. I think I can resolve all the issues but two because of an Oracle limitation. The script has the following create statements:</p>
<pre><code>CREATE TABLE systemMetadataReplicationPolicy...<br /> CREATE TABLE systemMetadataReplicationStatus...</code></pre>
<p>Both these names violate Oracle's 30 character limit for table names (they are both 31 chars). Is there any work around for this issue?</p>
<p>Thanks,</p>
<p>Parrish Martin<br />U.S. Army Corps of Engineers<br /><a class="email" href="mailto:Parrish.j.martin@usace.army.mil">Parrish.j.martin@usace.army.mil</a><br />(904) 232-2616</p> Bug #5696 (Resolved): pathQuery returns eml docs which have no public access grantedhttps://projects.ecoinformatics.org/ecoinfo/issues/56962012-08-24T19:06:07Zgastil gastilmarygastil@yahoo.com
<p>As far as I remember, non-public eml docs did not used to be returned in pathQuery result sets in earlier versions of metacat.<br />This is with<br /><a class="external" href="http://metacat.lternet.edu/knb/metacat?action=getversion">http://metacat.lternet.edu/knb/metacat?action=getversion</a><br /><version>2.0.3</version></p>
<p>A pathQuery returns an eml doc which does not have public read access.<br />Example: knb-lter-sev.389.3</p>
<p>with<br /><access authSystem="knb" order="denyFirst" scope="document"><br /> <allow><br /> <principal>uid=SEV, o=lter, dc=ecoinformatics, dc=org</principal><br /> <permission>all</permission><br /> </allow><br /></access></p>
<p>A pathQuery returned this in its result set:<br /><document><br /><docid>knb-lter-sev.389.3</docid><br /><docname>eml</docname><br /><doctype>eml://ecoinformatics.org/eml-2.0.1</doctype><br /><createdate>2005-07-29</createdate><br /><updatedate>2012-08-22</updatedate><br /><param name="@packageId">sev.00389.1</param><br /><param name="dataset/title">Lightning Strike Data for New Mexico, 1989</param><br /></document></p>
<p>This may be related in part to bug <a class="issue tracker-1 status-1 priority-2 priority-default" title="Bug: setaccess action may have deleting access rule functionality (New)" href="https://projects.ecoinformatics.org/ecoinfo/issues/5553">#5553</a> (not sure).<br />The denyFirst may be part of the problem. The older revisions also had denyFirst.</p>