Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleDSpace 6+ changed the way Handles are created for versioned Items

Starting with 6.0, the way DSpace crates Handles for versioned Items was changed. If you want to keep the old behavior of DSpace 4 and 5 you have to enable the VersionedHandleIdentifierProviderWithCanonicalHandles in the XML configuration files [dspace]/config/spring/api/identifier-service.xml. See IdentifierServiceOverride below for details and the comments in the configuration file.

...

Disabling Item Level Versioning

By default, Item Level Versioning is enabled in DSpace 7.1.  You may choose to disable it by updating this configuration in your local.cfg: 

Code Block
versioning.enabled = false

Additionally, you will need to make the following changes to disable all versioning-related features:

  • Switch to using the basic "HandleIdentifierProvider" in your [dspace]/config/spring/api/identifier-services.xml .  Make sure to comment out the "VersionedHandleIdentifierProvider" and replace it with this:

    Code Block
    <!-- This HandleIdentiferProvider should be used when versioning is disabled -->
    <bean id="org.dspace.identifier.HandleIdentifierProvider" class="org.dspace.identifier.HandleIdentifierProvider" scope="singleton">
        <property name="configurationService" ref="org.dspace.services.ConfigurationService"/>
    </bean>


  • Remove the "versioning" consumer from the list of default Event Consumers in either your dspace.cfg or local.cfg.  Look for this configuration:

    Code Block
    # Remove the "versioning" entry in this list
    # (NOTE: Your list of consumers may be different based on the features you've enabled)
    #event.dispatcher.default.consumers = versioning, discovery, eperson
    
    # For example:
    event.dispatcher.default.consumers = discovery, eperson


Once these changes are made, you will need to restart your servlet container (e.g. Tomcat) for the new settings to take effect.

Initial Requirements

The Item Level Versioning implementation builds on following requirements identified by the stakeholders who supported this contribution: Initial Requirements Analysis

...