Project

General

Profile

Activity

From 08/10/2016 to 09/08/2016

09/08/2016

05:02 PM Revision 9938 (metacat): Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.
Jing Tao
04:38 PM Revision 9936 (metacat): Change the type for the no-name-namespace schema from Schema to NoNamespaceSchema.
Jing Tao
11:10 AM Revision 9934 (metacat): Add a junit test class.
Jing Tao
11:08 AM Revision 9932 (metacat): Add a test document with the noNamespaceSchemaLocation attribute.
Jing Tao
11:06 AM Revision 9930 (metacat): Add a SAX parser to determine the namespace of a xml object. It only parses the root element, then stops.
Jing Tao
09:41 AM Revision 9928 (metacat): Put the formatid and nonamespace_schema_location into one record for fgdc.
Jing Tao
09:23 AM Revision 9926 (metacat): Put the formatid and nonamespace_schema_location into one record for fgdc.
Jing Tao

09/07/2016

11:20 AM Revision 9924 (metacat): Add the code to create a new column on xml_catalog table.
Register the nonamespace format id or uni on the xml_catalog table. Jing Tao
11:08 AM Revision 9922 (metacat): Add the script to upgrade db to version 2.7.2
Jing Tao

09/06/2016

05:09 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
The system metadata is:
<?xml version="1.0" encoding="UTF-8"?> ...
Jing Tao
05:08 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
An example of nonamespaceschema xml document.
The uri can be:
https://www.fgdc.gov/schemas/metadata/fgdc-std-001...
Jing Tao
04:56 PM Revision 9920 (metacat): Add the fgdc schemas which downloaded from https://www.fgdc.gov/metadata/
Jing Tao
03:43 PM Revision 9918 (metacat): Disable the feature of downloading external schemas.
Jing Tao

09/02/2016

06:20 PM Revision 9916 (metacat): Change the log information a little bit.
Jing Tao
05:45 PM Revision 9914 (metacat): Add the test files.
Jing Tao
05:44 PM Revision 9913 (metacat): use the new rules to validate an xml object base on dtds.
Jing Tao
11:41 AM Revision 9906 (metacat): Add a dependency on servlet-api.jar with the scope "provided".
Jing Tao
11:14 AM Revision 9905 (metacat): Show the annotation target under the attribute name
Lauren Walker

09/01/2016

04:10 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
In case somebody can't read the google doc. Here is the content:... Jing Tao
02:53 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
The workflow we will use:
https://docs.google.com/document/d/1tRb1-S_gKfkuCRvYFamfnB2_pBLSus8NuYZ1fADiQ0U/edit?ts=...
Jing Tao
12:35 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
All dents are missing in above comment. I have to upload the file. Jing Tao
12:31 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Current workflow:
formatId = systemMetadata.getObjectFormatId(); // from Metacat API, this is null.
dtdText = ht...
Jing Tao
09:01 AM Feature #7096: Disable the feature of downloading external schemas for unregistered namespaces
Wow, that's quite a shift in behavior. I guess I missed the meeting when this was discussed, but sounds like there wa... ben leinfelder

08/31/2016

05:48 PM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
I wrote those docs, which do explicitly say that RightsHolder is of Type.Subject, which is defined as "An identifier ... Matt Jones
03:29 PM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
The docs aren't explicit about this, but I can see why you'd expect any Subject to work.
http://jenkins-1.dataone.or...
ben leinfelder

08/30/2016

06:32 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Jing -- I think at one point (and maybe currently) there was a chunk of code that used the name of the root element o... Jing Tao
02:23 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Jing, for documents coming in from the DataONE API, Metacat should have access to the formatId from the system metada... Matt Jones
02:17 PM Feature #7098: Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Since there is no target namespaces in the schema, in order to identify the schema, we have to use the object format ... Jing Tao
01:57 PM Feature #7098 (Resolved): Add the feature to support the noNamespaceSchemaLocation attribute in xml objects
Currently, Metacat caches the schemas with the combination keys of namespaces plus format ids. It set the property o... Jing Tao
06:31 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
I changed the title of this bug. It is different to the case we tried to figure out the xml schema location. The corr... Jing Tao
05:54 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
Jing -- I think at one point (and maybe currently) there was a chunk of code that used the name of the root element o... Matt Jones
04:34 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
Let's go back to the original issue. We have a record on xml_catalog table:
catalog_id | entry_type | source_doctyp...
Jing Tao
03:34 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
This is good idea - we can avoid to create two copies of registered schemas in the registry process and the scenario ... Jing Tao
03:16 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
I think this is a good idea, but I think we should go the other way -- have the copy in wepapps/metacat/schema be the... Matt Jones
02:34 PM Feature #7099: Create a new admin page for Metacat admins to register schemas
The schema locations is /tomcat-home/webapps/metacat/schema (in order to be accessible by the http), so the new insta... Jing Tao
02:27 PM Feature #7099 (New): Create a new admin page for Metacat admins to register schemas
Currently we add new schemas base on Metacat release sand occasionally add it by sql commands.
We will disable Meta...
Jing Tao
01:48 PM Feature #7097 (Resolved): Provide clear messages to clients if the namespaces/formatids of the schemas of xml objects are not registered in Metacat
I believe currently the message for schema not found depends on the sax parser exception. It is not clear, we need im... Jing Tao
01:41 PM Feature #7096 (Resolved): Disable the feature of downloading external schemas for unregistered namespaces
Currently, Metacat will download the schemas during the metadata object inserting if it finds the namespaces is not ... Jing Tao

08/26/2016

04:30 PM Task #7095: Improve error message for: User tried to update an access module when they dont have ‘ALL’ permission!"
Did a globe search and found the message is in the Eml200SAXHandler and Eml201SAXHandler classes. Jing Tao
04:14 PM Task #7095 (Closed): Improve error message for: User tried to update an access module when they dont have ‘ALL’ permission!"
We get this error all the time when doing various (apparently illegal) operations:
> User tried to update an acces...
Bryce Mecum
11:19 AM Bug #7094: Metacat is not expanding groups in the rightsHolder field during authorization
I'm targeting this for 2.8.0 since we have an immediate workaround on arcticdata.io. Chris Jones
10:24 AM Bug #7094 (Closed): Metacat is not expanding groups in the rightsHolder field during authorization
With a @SystemMetadata@ document like:... Chris Jones
10:04 AM Bug #7093 (New): Metacat-index is not indexing all package members correctly
Shirley pointed out that for the @urn:uuid:09fd1d96-c6b0-442d-b1cb-e2c4a2e476b6@ package on arcticdata.io:
https:/...
Chris Jones

08/25/2016

12:03 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The problem is that even though we have a cached copy, we still need to modify the noNamespaceSchemaLocation attribut... Jing Tao
11:49 AM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
There are two common locations used for FGDC schemas, both appear to be functionally equivalent and yield identical s... Dave Vieglais
11:01 AM Bug #7092 (New): Upgrade xerces and xalan lib
Currently we are using xerces and xalan 2.7 version which came out in 2005. We need to upgraded it. Jing Tao

08/24/2016

05:21 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The lib/schema directory was historically populated by first use, rather than during the build. It was only later th... Matt Jones
04:59 PM Bug #7091: Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
To register the entry on loaddtdschema-postgres.sql exists for a long time since we can see it on Metacat 1.9.0. Howe... Jing Tao
04:12 PM Bug #7091 (New): Metacat installation (the war file) doesn't include the FGDC schemas even though the loaddtdschema file creates an entry in the xml_catalog table for it
The FGDC namespace is registered in our xml_catalog table:
27 | Schema | | | metad...
Jing Tao
10:05 AM Revision 9902 (metacat): Add the release note for 2.7.2
Jing Tao
10:01 AM Bug #7090 (Resolved): Change a Metacat member node's synchronization value on the admin page doesn't work
The problem was in Metacat. In the d1Admin page, those properties were modified by the Metacat way - throught the pro... Jing Tao
09:45 AM Revision 9900 (metacat): Every time when we modified the metacat.properties file through the PropertyService, the Setting class will be updated as well. Otherwise, the values on the Setting class are still the old one.
Jing Tao

08/23/2016

05:06 PM Bug #7090 (Resolved): Change a Metacat member node's synchronization value on the admin page doesn't work
https://redmine.dataone.org/issues/7861 Jing Tao

08/18/2016

02:40 PM Bug #7083 (Closed): Metadata/data objects which have obsoletedBy field ignore the resource map index
It was fixed in the d1_cn_index_processor component. I created a new 2.2.1 tag and built it on Jenkons. Please see:
...
Jing Tao
11:32 AM Support #7076 (Closed): Migrate metacat build to use EML git repo
The code was merged to 2.7 branch. It worked well. Jing Tao

08/17/2016

05:33 PM Support #7076: Migrate metacat build to use EML git repo
I merged the code to the 2.7 branch. It works fine to me. Jing Tao
03:20 PM Task #7087 (Closed): Remove the support of Oracle on documentation
They were removed on both the trunk and 2.7 branch. Jing Tao
03:19 PM Task #7087 (Closed): Remove the support of Oracle on documentation
We dropped the support of oracle on 2.7.0. But we didn't remove it from documentation.
Jing Tao
03:08 PM Revision 9893 (metacat): Remove the oracle support.
Jing Tao
01:53 PM Bug #7086 (Resolved): External links in the registry should open in new tab
Lauren Walker
01:24 PM Bug #7084 (Closed): Metacat creates an Invalid Content-Disposition value for some filenames
Jing Tao

08/12/2016

11:55 AM Revision 9881 (metacat): Move the "go back to editing" button to the top of the confirm page too.
Make sure all links in the confirm stage open up in a new window.
Make the "yes submit" button styled as the primary...
Lauren Walker

08/11/2016

11:27 AM Bug #7084 (In Progress): Metacat creates an Invalid Content-Disposition value for some filenames
Adding the double quotes on the file name works great. The fix has been submitted to both the 2.7 branch and the trun... Jing Tao
11:24 AM Revision 9880 (metacat): Added the double quotes on the file name of the http header "content-deposition". This can handle the special characters on the file name.
https://projects.ecoinformatics.org/ecoinfo/issues/7084 Jing Tao

08/10/2016

04:35 PM Bug #7084 (Closed): Metacat creates an Invalid Content-Disposition value for some filenames
Related to #2566, Metacat is now creating @Content-Disposition@ HTTP headers with filenames either found in an object... Chris Jones
01:25 PM Revision 9878 (metacat): Move the "MultiSelector" JS from the entryForm.tmpl to the entryForm.js. This ensures that the JS will run after all the functions in entryForm.js are declared. This was causing JS bugs in the registry and metacatui.
Lauren Walker
 

Also available in: Atom