Metacat: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362007-02-09T04:27:21ZEcoinformatics Redmine
Redmine Bug #2764 (Resolved): LDAP client should handle referral failure correctlyhttps://projects.ecoinformatics.org/ecoinfo/issues/27642007-02-09T04:27:21ZJing Taotao@nceas.ucsb.edu
<p>Today, a knb website user reported that she could not register an ldap account through the knb web site. The result turned out is that a new referral, which is not up, was added to the ldap server. The failure of referral cause ldapweb.cgi failed. It seems that Morpho couldn't get ldap tree correctly either.</p>
<p>The reason of the failure is the ldap client couldn't handle the situation that referral ldap is down.</p> Bug #2748 (Resolved): MetaCatServlet.handleUploadAction() can cause data file deletion in the dat...https://projects.ecoinformatics.org/ecoinfo/issues/27482007-01-25T19:42:43ZChris Jonescjones@nceas.ucsb.edu
<p>During the upload of data documents to Metacat 1.6.x, data documents that have been previously uploaded can be deleted from Metacat's file storage area when the same file is uploaded on a second attempt. In MetaCatServlet.handleUploadAction(), DocumentImpl.registerDocument() is called after the data file has been created in the filesystem. If for some reason registerDocument() throws an exception (for instance if the docid and revision is already taken), then the data file is deleted, regardless of whether or not it happened in a previous transaction.</p>
<p>This can be critical since an entire Metcat data store could be deleted by calling action=upload on the existing data docids residing in the catalog. The existence of the data files remains registered in the catalog tables, but the file will be physically gone from the data store.</p> Bug #2747 (Resolved): AuthLdap.getGroups() doesn't follow referrals correctly when building group...https://projects.ecoinformatics.org/ecoinfo/issues/27472007-01-25T19:09:46ZChris Jonescjones@nceas.ucsb.edu
<p>EML allows for both user and group-based access control, but as of Metacat 1.6.x, access control for groups is only partially functional. The problem arises in searching for groups that are defined in LDAP databases that are referrals in the main ecoinformatics LDAP tree.</p>
<p>Given the following two EML access directives:</p>
<p><access order="allowFirst" scope="document" <br /> authSystem="ldap://ldap.ecoinformatics.org:389/dc=ecoinformatics,dc=org"><br /> <allow><br /> <principal><br /> cn=marine,dc=ecoinformatics,dc=org<br /> </principal><br /> <permission>read</permission><br /> </allow><br /></access></p>
<p>and</p>
<p><access order="allowFirst" scope="document" <br /> authSystem="ldap://ldap.ecoinformatics.org:389/dc=ecoinformatics,dc=org"><br /> <allow><br /> <principal><br /> cn=data-managers,o=PISCOGROUPS,dc=ecoinformatics,dc=org<br /> </principal><br /> <permission>read</permission><br /> </allow><br /></access></p>
<p>a search for groups will succeed for the group cn=marine, but will fail for the cn=data-managers group, and all other subsequent groups. This occurs after a NamingException is thrown when searching for group names in LDAP databases that are part of the ecoinformatics ldap tree as referrals.</p> Bug #2738 (Resolved): Announcement for when server will be unavialblehttps://projects.ecoinformatics.org/ecoinfo/issues/27382007-01-19T22:28:50ZCallie Bowdishbowdish@nceas.ucsb.edu
<p>I think we need some kind of policy regarding what do to do when the KNB server needs is going to go offline to fix something. Maybe at least a 10-minute warning would be good. This way people can save where they are at or finish what they are doing. Currently we have a problem with the KNB Data Catalog Map is only fixed by restarting Apache. We need some kind of announcement system when the server is not going to be available.</p>
<p>Yesterday I saw a government site have at the top of the database page, in red, an announcement that their server was going to be down for repairs during a certain period. That is good for letting people know ahead of time. What can we do for when people who currently are online using the server? Is it possible to announce to those people too? A pop up box might be blocked or unavailable.</p> Bug #2716 (Resolved): KNB Data Catalog Map does not display pointshttps://projects.ecoinformatics.org/ecoinfo/issues/27162007-01-08T19:35:34ZCallie Bowdishbowdish@nceas.ucsb.edu
<p>Metacat data bounds is not working working for the KNB Data Catalog Map. <a class="external" href="http://knb.ecoinformatics.org/index_map.jsp">http://knb.ecoinformatics.org/index_map.jsp</a> displays the map with no points representing the datasets. The option box Dataset Bounds text is crossed out.</p>
<p>Here is the errors in the server log that jing saw:<br />org.vfny.geoserver.wms.WmsException: java.util.NoSuchElementException: Could not locate FeatureTypeConfig 'metacat:data_bounds'<br />at org.vfny.geoserver.wms.requests.GetMapKvpReader.findLayer(GetMapKvpReader.java:1215)<br />at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseLayersParam(GetMapKvpReader.java:1190)<br />at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseLayersAndStyles(GetMapKvpReader.java:688)<br />at org.vfny.geoserver.wms.requests.GetMapKvpReader.parseMandatoryParameters(GetMapKvpReader.java:389)<br />at org.vfny.geoserver.wms.requests.GetMapKvpReader.getRequest(GetMapKvpReader.java:226)<br />at org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:318)</p>
<p>jing and some error about the file couldn't find:<br />/var/www/org.ecoinformatics.knb1/knb/data/metacat_shps/data_points.shp</p> Bug #2675 (Resolved): column "infinity" does not existhttps://projects.ecoinformatics.org/ecoinfo/issues/26752006-11-22T17:29:45ZChad Berkleyberkley@nceas.ucsb.edu
<p>When uploading certain xml files to metacat via the ecogrid, I get a message that says:<br /><error><br />ERROR: column "infinity" does not exist<br /></error></p>
<p>I'm not sure why it's looking for this column. You can reproduce it from kepler by trying to upload the Current Time actor to the library. Here is a full error from kepler:</p>
<p>Here's the full error:</p>
<p>[java] got lsid client<br /> [java] checking if lsid urn:lsid:kepler-project.org:actor:2:1 is already registered<br /> [java] EcogridUtils: The time to create instance is =========== 0<br /> [java] is registered? false<br /> [java] Creating transport KAR file at /Users/berkley/.kepler/cache/tmp/tmp.kar<br /> [java] done writing KAR file to /Users/berkley/.kepler/cache/tmp/tmp.kar<br /> [java] uploading kar file with id urn:lsid:kepler-project.org:kar:7:1<br /> [java] session id: 4EB5CA645287A4E729BCD30072EBCABA<br /> [java] EcogridUtils: The time to create instance is =========== 0<br /> [java] uploaded kar file with id urn:lsid:kepler-project.org:kar:7:1<br /> [java] uploading actor metadata with id urn:lsid:kepler-project.org:actor:2:1<br /> [java] session id: 4EB5CA645287A4E729BCD30072EBCABA<br /> [java] EcogridUtils: The time to create instance is =========== 0<br /> [java] repository: name=keplerRepository, repository=localhost:8080, username=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org<br /> [java] org.kepler.objectmanager.repository.RepositoryException: java.rmi.RemoteException: <?xml version="1.0"?><br /> [java] <error><br /> [java] ERROR: column "infinity" does not exist<br /> [java] </error></p>
<pre><code>[java] at org.kepler.objectmanager.repository.EcogridRepository.put(EcogridRepository.java:176)<br /> [java] at org.kepler.gui.UploadToRepository.upload(UploadToRepository.java:273)<br /> [java] at org.kepler.gui.UploadToRepository.access$000(UploadToRepository.java:75)<br /> [java] at org.kepler.gui.UploadToRepository$UploadSwingWorker.construct(UploadToRepository.java:449)<br /> [java] at util.SwingWorker$2.run(SwingWorker.java:122)<br /> [java] at java.lang.Thread.run(Thread.java:613)</code></pre> Bug #2670 (Resolved): Test Metacat version with updates does not link to the "create a new accoun...https://projects.ecoinformatics.org/ecoinfo/issues/26702006-11-14T21:48:26ZCallie Bowdishbowdish@nceas.ucsb.edu
<p>This is not a bug for the production version of Metacat(1.6.0). The "Head" version of Metacat does not links to the form page where a user can create a new account. The productions server goes to this location:</p>
<p><a class="external" href="http://knb.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb">http://knb.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb</a></p>
<p>The test server does not link to the form. I only get the top of the page without the form. It has the "Register for the Knowledge Network for Biocomplexity (KNB)!" title and informaion but no form.</p>
<p>On the test Metacat server the link from the KNB homepage that says create a new account goes to <a class="external" href="http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi">http://ldap.ecoinformatics.org/cgi-bin/ldapweb.cgi</a>. This does not work.</p>
<p>On the production server the link goes to: <a class="external" href="http://knb.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb">http://knb.ecoinformatics.org/cgi-bin/ldapweb.cgi?cfg=knb</a> . This works.</p> Bug #2648 (Resolved): Update broken LTER link in web templateshttps://projects.ecoinformatics.org/ecoinfo/issues/26482006-11-07T23:17:29ZDuane Costadcosta@lternet.edu
<p>All instances of the following LTER link in metacat's web templates:</p>
<pre><code><a class="external" href="http://sql.lternet.edu/scripts/intranet/sendmemypassword.pl">http://sql.lternet.edu/scripts/intranet/sendmemypassword.pl</a></code></pre>
<p>should be replaced by the following link:</p>
<pre><code><a class="external" href="http://savanna.lternet.edu/sendpassword.php">http://savanna.lternet.edu/sendpassword.php</a></code></pre> Bug #2186 (Resolved): Customizable web map clienthttps://projects.ecoinformatics.org/ecoinfo/issues/21862005-09-06T17:05:38ZJohn Harrisharris@nceas.ucsb.edu
<p>Currently, the spatial elements displayed within the Metacat spatial viewer are<br />lacking the standard information needed for geographic presentations. The<br />information below should be available for display within the Metacat spatial viewer:</p>
<p>Title<br />Legend<br />Scale<br />Contour Intervals<br />Source</p>
<p>... and there are probably others.</p> Bug #2184 (Resolved): Integrate into skins systemhttps://projects.ecoinformatics.org/ecoinfo/issues/21842005-09-06T16:55:49ZJohn Harrisharris@nceas.ucsb.edu
<p>The Metacat spatial option(s) should be easily included in any skin, so that<br />individuals and organizations may easily customize their sites.</p> Bug #2183 (Resolved): use metacat events to trigger spatial element creationhttps://projects.ecoinformatics.org/ecoinfo/issues/21832005-09-06T16:53:07ZJohn Harrisharris@nceas.ucsb.edu
<p>Currently, the creation of spatial elements used within the Metacat spatial<br />viewer is done through a call to an external harvester via a cron job. This<br />needs to change to a workflow that includes the creation of spatial elements<br />during metacat (insertion, update, deletion) transactions. Moreover, these<br />elements need to be more tightly coupled with Metacat (eg, Metacat needs to have<br />knowledge of the various elements stored and how these elements correspond to<br />data and metdata within Metacat).</p> Bug #2182 (Resolved): Identifying point goes direct to metadata displayhttps://projects.ecoinformatics.org/ecoinfo/issues/21822005-09-06T16:44:57ZJohn Harrisharris@nceas.ucsb.edu
<p>The user should be able to click on a point (and maybe a polygon) with in the<br />map viewer and have the metdata be displayed for that selected element.</p> Bug #2181 (Resolved): Footprint based queryhttps://projects.ecoinformatics.org/ecoinfo/issues/21812005-09-06T16:43:32ZJohn Harrisharris@nceas.ucsb.edu
<p>Currently, there is no way to submit a query based on a selected region of a<br />map. We need to be able to draw a box (rubberband) as a query that should<br />return metacat result page.</p> Bug #2179 (Resolved): Fix harvesting script to get all points and boxeshttps://projects.ecoinformatics.org/ecoinfo/issues/21792005-09-06T16:25:53ZJohn Harrisharris@nceas.ucsb.edu
<p>Currently, the code that extracts spatial information from EML documents stored<br />in Metacat only grabs points and does not create polygons that better represent<br />the bounding boxes expressed in EML. Also, the code grabs the first of the<br />geographicCoverage sections, instead it should grab all.</p> Bug #2178 (Resolved): Evaluate java-based web mapping applinactionshttps://projects.ecoinformatics.org/ecoinfo/issues/21782005-09-06T15:55:15ZJohn Harrisharris@nceas.ucsb.edu
<p>Currently, Metacat works with MapServer <a class="external" href="http://mapserver.gis.umn.edu/">http://mapserver.gis.umn.edu/</a>, an<br />application that is used to display spatial elements stored in Metacat. To ease<br />the incorporation of a map server into Metacat, we should evaluate the map<br />servers that are implemented as java servlets. Requirements for these<br />mapservers are that they can read/write ESRI shapefiles and read raster data.</p>