[
https://jira.duraspace.org/browse/DS-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark H. Wood resolved DS-636.
-----------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
> Error Check Needed for handle.prefix in Dspace.cfg
> --------------------------------------------------
>
> Key: DS-636
> URL: https://jira.duraspace.org/browse/DS-636
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.0
> Reporter: Tim Donohue
> Assignee: Mark H. Wood
> Fix For: 1.7.0
>
>
> This was reported to the old SourceForge Bug Tracker (now closed down), by
> Jason (zenthanian):
> v1.60
> /dspace-api/src/main/java/org/dspace/handle/HandleManager.java
> needs to handle missing "hande.prefix" in dspace.cfg
> if not there the following line results in a null value
> String handlePrefix =
> ConfigurationManager.getProperty("handle.prefix");
> then the following line bombs with a nullpointer exception.
> return new StringBuffer().append(handlePrefix).append(
> handlePrefix.endsWith("/") ? "" : "/").append(id).toString();
> suggest to insert the following between the two lines
> if (handlePrefix == null)
> {
> log.warning("handle.prefix not set in config file.")
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel