Metacat: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362017-08-22T16:18:35ZEcoinformatics Redmine
Redmine Bug #7207 (Rejected): Requests to view service are not properly encoding identifiershttps://projects.ecoinformatics.org/ecoinfo/issues/72072017-08-22T16:18:35ZLauren Walkerwalker@nceas.ucsb.edu
<p>From Dave Vieglais:</p>
<p>All requests to DataONE services must properly URL path encode identifiers that are included with GET requests.</p>
<p>For example, when viewing a search result for the identifier:</p>
<p><a class="external" href="http://dx.doi.org/10.5061/dryad.j1828/2?ver=2017-08-19T07:36:06.033-04:00">http://dx.doi.org/10.5061/dryad.j1828/2?ver=2017-08-19T07:36:06.033-04:00</a></p>
<p>the view request fails with a 404 error since the identifier is not being encoded:</p>
<p><a class="external" href="https://search.dataone.org/cn/v2/views/metacatui/http://dx.doi.org/10.5061/dryad.j1828?ver=2017-08-19T07:35:55.841-04:00">https://search.dataone.org/cn/v2/views/metacatui/http://dx.doi.org/10.5061/dryad.j1828?ver=2017-08-19T07:35:55.841-04:00</a></p>
<p>Properly encoding the request:</p>
<p><a class="external" href="https://search.dataone.org/cn/v2/views/metacatui/http%3A%2F%2Fdx.doi.org%2F10.5061%2Fdryad.j1828%3Fver%3D2017-08-19T07%3A35%3A55.841-04%3A00">https://search.dataone.org/cn/v2/views/metacatui/http%3A%2F%2Fdx.doi.org%2F10.5061%2Fdryad.j1828%3Fver%3D2017-08-19T07%3A35%3A55.841-04%3A00</a></p>
<p>yields the expected HTTP 200 response.</p> Feature #6558 (Rejected): Update the Metacat skins with the new CSS used in the EML projecthttps://projects.ecoinformatics.org/ecoinfo/issues/65582014-05-28T19:06:34ZLauren Walkerwalker@nceas.ucsb.edu
<p>Also check that changes to the XSL files aren't causing style problems in each skin - default, SANPARKS, SAEON, etc.</p> Feature #6556 (Rejected): Create PROV annotations in ResourceMapFactoryhttps://projects.ecoinformatics.org/ecoinfo/issues/65562014-05-16T23:49:23ZLauren Walkerwalker@nceas.ucsb.edu
<p>Add methods such as addWasDerivedFrom() to add PROV triples to an RDF</p> Bug #6322 (Rejected): Ensure lock is obtained prior to calls to Hazelcast IMap.put() https://projects.ecoinformatics.org/ecoinfo/issues/63222013-12-20T15:28:46ZChris Jonescjones@nceas.ucsb.edu
<p>When modifying the system metadata table, we call systemMetadataMap.put(). since this is a distributed map in the HZ cluster, we need to call lock() first on the pid. This particularly needs to be fixed in DocumentImpl, but we should audit this call in other classes to make sure we lock and unlock correctly.</p> Feature #6196 (Rejected): ORE documents should be generated for new EML records from the Metacat APIhttps://projects.ecoinformatics.org/ecoinfo/issues/61962013-11-01T07:16:13ZMatt Jonesjones@nceas.ucsb.edu
<p>Currently, if a metadata document is uploaded via the Metacat API (action=insert or action=update), it does not contain an ORE document, as that API doesn't support it's upload. Consequently, even if we manually generate ORE maps from the admin control panel, each update of an object fails to create an associated ORE map even if it existed for the prior version. Thus, the data set drops out of any searches including the 'Has data' flag.</p>
<p>To fix this, just as we generate SystemMetadata automatically, we should also automatically generate an ORE document for the new metadata document that links all of the referenced data files into the resource map. This will avoid the need for large batch generation of ORE documents.</p> Bug #5875 (Rejected): d1_cn_index_processor packagehttps://projects.ecoinformatics.org/ecoinfo/issues/58752013-02-21T23:55:30ZBrendan Hahnhahn@nceas.ucsb.edu
<p>Have maven jar up the classes from d1_cn_index_processor for use in metacat</p> Bug #5837 (Rejected): Stringshttps://projects.ecoinformatics.org/ecoinfo/issues/58372013-01-30T18:17:15ZBrendan Hahnhahn@nceas.ucsb.edu
<p>Source is infested with hard-coded strings, many duplicated. Should be resources.</p> Bug #5395 (Rejected): Get unexpected result if a search was done before metacat finishes its inde...https://projects.ecoinformatics.org/ecoinfo/issues/53952011-05-05T23:43:44ZJing Taotao@nceas.ucsb.edu
<p>Hi, Scott:</p>
<p>I dug around this issue a while and found it out it was a search cache issue in Metacat. Did you do an immediate search after you uploaded the szalt4twittergraph?</p>
<p>I guess you did a search before Metadata finished its indexing during the inserting (uploading), so the search didn't get the name of kar xml and docid of kar file. The worse case is that the broken search result was cached and it will persist forever. The only way to resolve the problem is to remove the cached item.</p>
<p>After I deleted the record of this document in the xml_queryresult table (the search cache table), the search worked for me. You might make a try as well. If you see any problem, please let me know.</p>
<p>I will file a bug about this issue.</p>
<p>Thanks,</p>
<p>Jing</p>
<p>Scott Zimmer wrote:</p>
<blockquote>
<p>I am trying to upload some kar files that I created to the Kepler-Dev repository. I upload them from inside Kepler-2.2 and I always get the message that the component uploaded successfully. I am making them publicly available and logging in anonymously. Sometimes when I search the repository through the website (<a class="external" href="http://kepler-dev.nceas.ucsb.edu/kepler/metacat">http://kepler-dev.nceas.ucsb.edu/kepler/metacat</a>) I get "null" as the kar name and if I click download, I get the following return<br /><error>the requested docid '' does not exist</error></p>
<p>I can still find the uploaded component if I search the repository from inside Kepler and I can drag it onto my canvas. I have uploaded szalt3twittergraph and szalt4twittergraph to the repository. I can find both kar files from within Kepler, but szalt4twittergraph shows up as null and can't be downloaded from the repository via the website. I'd appreciate any insight you have into the cause.</p>
<p>Scott</p>
</blockquote> Bug #4612 (Rejected): EML file content out of sync with metacathttps://projects.ecoinformatics.org/ecoinfo/issues/46122009-12-09T00:46:47ZOliver Soongsoong@nceas.ucsb.edu
<p>This is on dev.nceas.ucsb.edu. Search for soong_test. There should be 2 entries for "soong_test 1". One has ID soong_test.3.2 and the other has ID doc.1260314433875.1. Open doc.1260314433875.1 and look at the EML, which should be for soong_test.3.3.</p>
<p>I was testing the ecogrid writer actor in Kepler. I may not have been doing things correctly.</p> Bug #4173 (Rejected): use svn:externals for dependency injectionhttps://projects.ecoinformatics.org/ecoinfo/issues/41732009-06-19T00:20:15ZShaun Walbridgewalbridge@nceas.ucsb.edu
<p>We historically had ant check out CVS dependencies into the repository, which is being replaced with an equivalent SVN action. However, it may be easiest to define the dependencies as svn externals, so that a checkout contains the latest code automatically without needing any build actions.</p>
<p>If keeping the dependencies up-to-date was a necessary step directly from build, an SVN update could be issued on the folders as needed.</p>
<p>More on SVN externals:<br /> <a class="external" href="http://svnbook.red-bean.com/en/1.0/ch07s03.html">http://svnbook.red-bean.com/en/1.0/ch07s03.html</a></p> Bug #4085 (Rejected): The session couldn't be kept after login through devtools.htmlhttps://projects.ecoinformatics.org/ecoinfo/issues/40852009-05-19T23:29:05ZJing Taotao@nceas.ucsb.edu
<p><jing> i went to this page:<br /><jing> <a class="external" href="http://dev.nceas.ucsb.edu/knb/style/skins/dev/login.html">http://dev.nceas.ucsb.edu/knb/style/skins/dev/login.html</a><br /><jing> logged in successfully<br /><jing> then in the same window, i pasted a url into the browser:<br /><jing> <a class="external" href="http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=knb&sessionid=&docid=tao.12879.1">http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=knb&sessionid=&docid=tao.12879.1</a><br /><jing> it give me the user public couldn't read it.</p>
<p><daigle> we did modify the way sessions work<br /><daigle> devtools may not have been updated</p> Bug #3833 (Rejected): Advanced search (liveMap) map doesn't display on linux firefoxhttps://projects.ecoinformatics.org/ecoinfo/issues/38332009-02-20T17:58:20ZMichael Daigledaigle@nceas.ucsb.edu
<p>The map applet in advanced search doesn't display on unbuntu linux running firefox 3. duplicated this on my machine and ben's.</p> Bug #3718 (Rejected): toolRef.model.getSRS error in console when rendering maphttps://projects.ecoinformatics.org/ecoinfo/issues/37182009-01-02T18:13:40ZMichael Daigledaigle@nceas.ucsb.edu
<p>When rendering a skin with a map, the following error shows up in the console.</p>
<p>Error: toolRef.model.getSRS is not a function<br />Source File: <a class="external" href="http://dev.nceas.ucsb.edu/knb/spatial/mapbuilder/lib/tool/ZoomToAoi.js">http://dev.nceas.ucsb.edu/knb/spatial/mapbuilder/lib/tool/ZoomToAoi.js</a><br />Line: 39</p> Bug #3591 (Rejected): Move search returndoctype definitions to a centralized locationhttps://projects.ecoinformatics.org/ecoinfo/issues/35912008-11-04T00:18:03ZMichael Daigledaigle@nceas.ucsb.edu
<p>Currently, the returndoctypes for each skin are defined separately. These should be moved to a centralized locate so they only need to be changed once for all skins.</p>
<p>Note that there are several different strategies for defining the returndoctypes including:</p>
<p>-- as hidden form fields<br />-- using java script<br />-- defining in a url. This strategy also has several different forms including plain html url, html encoded url and hex encoded url.</p>
<p>All of these need to be handled.</p> Bug #2792 (Rejected): KNB home link needed on the Map Pagehttps://projects.ecoinformatics.org/ecoinfo/issues/27922007-03-08T16:40:01ZCallie Bowdishbowdish@nceas.ucsb.edu
<p>The KNB Data Catalog Map page ( <a class="external" href="http://knb.ecoinformatics.org/index_map.jsp">http://knb.ecoinformatics.org/index_map.jsp</a> ) has a differnt "header" or banner set up. On the other KNB pages there is a link on the KNB logo and the a text link next to the KNB logo that says home. It would be helpful to have the home links available.</p>