From 80666aa0a07101e29fdd8b2d97f00c2540ad1c4b Mon Sep 17 00:00:00 2001
From: stellamit
- This document provides a short description of the steps involved in
- upgrading your installation of VIVO from Version 1.3 to Version 1.4.
+ This document contains instructions on how to upgrade your
+ installation of VIVO from Version 1.3 to Version 1.4.
This and other documentation can be found on the support page
at VIVOweb.org
-
-
TBD
-+ For a description of the release contents see the Release announcement for V1.4. +
+- Please ensure that backups are created of the: -
+- The upgrade process is similar to the original install process + The upgrade process is similar to the initial install process with - the following EXCEPTIONS: + the following exceptions:
(TOTO: I think this should contain only changes to the upgrade process itself. Changes to the source code that are too detailed for the release announcement could go in + an appendix (final section) to this document until such time as there is an granual release changes document.
+- 2. Create a new deploy.properties using the same values as in - your - previous installation and set values for the new variables as described + 2. Create a new deploy.properties using the same settings as in + your previous installation and set values for the new variables as described below (vitro.local.solr.url, vitro.local.solr.ipaddress.mask, vitro.home.directory, email.smptHost, email.replyTo, rootUser.emailAddress) @@ -649,12 +632,6 @@
- 4. If you had modified web.xml
- to configure the
- Pellet Reasoner (as described in the installation instructions), repeat
- that modification.
-
5. Stop Apache Tomcat and from your VIVO source directory, run ant @@ -671,13 +648,12 @@ Go to the "Site Admin" page and click on "Rebuild Search Index" under the heading "Refresh Content".
-
- After Apache Tomcat is started, these files should be reviewed to
- verify that the automated upgrade process was executed
- successfully. The ontology alignment process will create the
- following files in the Tomcat webapps/vivo/WEB-INF directory
:
+ 8. Review and save aside the knowledge base migration logs.
+ The knowledge base migration process described in the next section will generate logs.
+ These logs will be overwritten if you redeploy the VIVO application (but not if you restart tomcat), and since
+ they may be a useful reference if questions come up about your 1.4 VIVO data after deployment, you should save them aside.
+ The logs are created in the Tomcat webapps/vivo/WEB-INF directory
:
ontologies/update/changedData/removedData.n3
- ontologies/update/changedData/addedData.n3
- - Changes to the VIVO core ontology may require corresponding - modifications of the knowledge base instance data and local ontology - extensions. + +
+ ++ For an description of changes to the VIVO ontology in version 1.4 see the sourceforge wiki page on ontology changes
- When Apache Tomcat starts up following the upgrade, it will + Changes to the VIVO core ontology may require corresponding + modifications to the knowledge base instance data and ontology annotations. + When VIVO first starts up following the upgrade, it will initiate a process to examine the knowledge base and apply necessary - changes. Not all of the modifications that may be required can be - automated, so manual review of the knowledge base is recommended after - the automated upgrade process. The automated process will make only the - following types of changes: + changes. The knowledge base migration process will make the following types of changes:
+ In addition to the logs described in step 8 of the previous section, the knowledge base migration + process will log copies of all additions and deletions that were made to the knowledge base in the following files: +
+webapps/vivo/WEB-INF/ontologies/update/changedData/removedData.n3
+ webapps/vivo/WEB-INF/ontologies/update/changedData/addedData.n3
+ VIVO comes with a "Terms of Use" statement linked from the footer. The "Site Name" @@ -795,9 +773,10 @@ Be sure to make the changes in your source files and deploy them to your tomcat so you don't lose your changes next time you deploy for another reason.
-- Now that you have VIVO up and running, please go read the Site Administrator's Guide. + Now that you have VIVO up and running, please refer to the Site Administrator's Guide + for information about its operation.
diff --git a/productMods/config/listViewConfig-relatedRole.xml b/productMods/config/listViewConfig-relatedRole.xml index d36e03d0..e3de6ddf 100644 --- a/productMods/config/listViewConfig-relatedRole.xml +++ b/productMods/config/listViewConfig-relatedRole.xml @@ -33,8 +33,9 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co OPTIONAL { ?subclass rdfs:label ?roleTypeLabel } ?roleProp rdfs:subPropertyOf core:roleOf ; rdfs:domain ?subclass . - ?role ?roleProp ?indivInRole - OPTIONAL { ?indivInRole rdfs:label ?indivLabel } + OPTIONAL { ?role ?roleProp ?indivInRole + OPTIONAL { ?indivInRole rdfs:label ?indivLabel } + } } OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval @@ -86,7 +87,7 @@ http://vivoweb.org/ontology/core#realizedRole and http://vivoweb.org/ontology/co ?role vitro:mostSpecificType ?subclass } UNION { ?subject ?property ?role . - ?role a ?subclass . + ?role vitro:mostSpecificType ?subclass . ?subclass rdfs:label ?roleTypeLabel } UNION { ?subject ?property ?role . diff --git a/src/org/vivoweb/webapp/util/ModelUtils.java b/src/org/vivoweb/webapp/util/ModelUtils.java index ab3f9aff..4277fded 100644 --- a/src/org/vivoweb/webapp/util/ModelUtils.java +++ b/src/org/vivoweb/webapp/util/ModelUtils.java @@ -56,6 +56,7 @@ public class ModelUtils { VClassDao vcd = wadf.getVClassDao(); List