Difference between revisions of "SUNScholar/Versioning"

From Libopedia
Jump to navigation Jump to search
Line 6: Line 6:
  
 
==<font color="red">'''Urgent Notice'''</font>==
 
==<font color="red">'''Urgent Notice'''</font>==
;We had this enabled but had to disable it because items with metadata only gave critical java errors. You can ONLY enable versioning if ALL your items have a bitstream attached it seems. [[SUNScholar/Upgrading/DSpace/Release Notes/3.2|Check the upgrade notes for more info.]]
+
;We had this enabled but had to disable it because items with metadata only gave critical java errors. You can ONLY enable versioning if ALL your items have a bitstream attached it seems.<br>[[SUNScholar/Upgrading/DSpace/Release Notes/3.2|Check the upgrade notes for more info.]]
 
----
 
----
  

Revision as of 12:51, 17 March 2014

Back to Customisation

Please note: This feature was released with DSpace version 3.2 and therefore not fully tried and tested.

You apply this feature at your own risk.

Urgent Notice

We had this enabled but had to disable it because items with metadata only gave critical java errors. You can ONLY enable versioning if ALL your items have a bitstream attached it seems.
Check the upgrade notes for more info.

Step 1 - Enable versioning with the XMLUI

Edit the following file:

nano /home/dspace/source/dspace/config/xmlui.xconf

And enable versioning for the XMLUI. See example below.


<!-- =====================
     Item Level Versioning
     ===================== -->
<!-- To enable Item Level Versioning features, uncomment this aspect. -->
<aspect name="Versioning Aspect" path="resource://aspects/Versioning/" />
Step 2 - Setup permissions

Edit the following file:

nano /home/dspace/source/dspace/config/modules/versioning.cfg

And enable permissions. See example below.

item.history.view.admin=true
Step 3 - Rebuild DSpace
Customisation

Edit the following files to customise versioning.

nano /home/dspace/source/dspace/config/spring/api/versioning-service.xml
nano /home/dspace/source/dspace/config/spring/api/identifier-service.xml
References