Graham Triggs
b6339c30f1
[DS-773] Reduce memory retained by objects with finalizers
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5915 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-12-02 21:10:13 +00:00
Robin Taylor
dacd088e14
[DS-763] Allow for japanese month names with only two characters.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5911 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-29 22:05:00 +00:00
Tim Donohue
891dc76aad
DS-466: Removing duplicative logic in AbstractMETSIngester's replace() method. replace() method used to try to determine the parent DSpaceObject before calling ingestObject() method. However, the ingestObject() method already does this by calling getParentObject(). So, replace() included logic which already exists in getParentObject(). That same logic was being run twice in a row, when it only needs to be run once. This change has been tested and is working properly.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5906 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-24 18:52:31 +00:00
Mark Wood
0029e0114d
Make exception texts more informative; spelling correction.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5905 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-24 16:48:30 +00:00
Tim Donohue
ea23d023c7
DS-466 : Small bug fix. Changed METS disseminator to *always* include a relative file path reference to expected location of child METS files/AIPs. Previously it would only include this path during a recursive dissemination. However, without this file path reference, DSpace currently can *never* restore any child objects (as we don't have a tool to crawl AIPs/METS to find an AIP via just a Handle reference). So, for now, we need to always include a relative file path. Another small issue found via Duracloud testing.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5894 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 21:53:03 +00:00
Tim Donohue
70d0c9e8a8
DS-466 : Just realized the code fixed in r5887 appears in two places -- both in ingestAll() and in replaceAll(). It was fixed in ingestAll() in r5887. This commit also ensures it is fixed in replaceAll() method.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5893 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:53:10 +00:00
Tim Donohue
55d4bc0cea
DS-466 : Fixed bug where METSManifest was wrongly throwing an error if an Item AIP's METS file didn't include a <fileSec>. METS files which describe an Item may not include a <fileSec> if they contain no files (i.e. DSpace allows Items to exist which have no bundles/bitstreams attached -- this is a rare scenario, but AIP ingester needs to be able to support it). This bug was discovered during DuraCloud pilot testing.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5892 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:31:32 +00:00
Tim Donohue
7c0dca7b64
DS-466: Similar to last commit, ensure ingested items are not counted multiple times.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5891 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:13:28 +00:00
Tim Donohue
3489d7b29a
DS-466: Fix minor bug in count of packages disseminated. Before adding a package to list of those disseminated, make sure it isn't already listed. This only occurs for mapped item packages, which may be listed multiple places and were accidently being counted multiple times.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5890 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 20:10:46 +00:00
Tim Donohue
20b88a0eb0
Removing unnecessary class import from commit r5886. NetBeans was being bad, and added something I never meant to add to the imports.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5888 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:20:54 +00:00
Tim Donohue
8c619b135c
DS-466 Fixing minor bug in 'item-mapping' logic of AbstractPackageIngester. It was making the improper assumption that ingestAll() will *always* cause a new object to be ingested. However, this is not the case if an object already existed, and the Packager is running in "restore, but keep existing" (-r -k) mode. Fixed the code so that it first verifies if an object was successfully ingested before performing extra item-mapping cleanup work.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5887 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:17:08 +00:00
Tim Donohue
dba34e30b9
DS-466 AIP Backup & Restore was unable to backup or restore a Collection's Item Template. This issue was reported via DuraCloud pilot. This code now ensures that Item Template can be backed up and restored properly. Code and generated METS has been validated and tested and seems to be working perfectly.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5886 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-22 16:14:19 +00:00
Mark Wood
c542123e87
[DS-751] Generate Collection's list of children and the set of child
...
Item packages claiming Collection as parent in the same way, to avoid
abrupt exit.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5879 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-18 20:05:28 +00:00
Richard Rodgers
39bec493cc
[DS-750] UI readability improvements in tasks
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5870 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 16:34:13 +00:00
Tim Donohue
53e486d9f1
Very minor addition to METS/AIP Disseminator. Allow the ability to disable validation during export by specifying the 'validate' flag. This same flag is already available during ingest processes. Adding this flag to the export makes it easier to debug any validation errors which may accidentally occur on export. (This came in handy when trying to track down problem behind DS-752). This flag has already been documented in AIP Backup/Restore docs on wiki.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5869 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 16:23:53 +00:00
Mark Wood
53f47aead3
Name the package file claiming a parent which does not acknowledge it as a child.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5867 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-17 14:00:13 +00:00
Graham Triggs
fa7c843273
[DS-707] Static code analysis changes, replace iterator with for each.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5865 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 22:38:02 +00:00
Stuart Lewis
3cd988f403
[DS-753] Fix CSV parsing that got broken by refactoring
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5864 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 21:46:07 +00:00
Tim Donohue
ea245bbd5a
Improved error message when METS Disseminator fails. If it fails, it should report on which DSpace Object it failed on (previously, it was nearly impossible to tell which object caused an error).
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5863 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 19:21:38 +00:00
Tim Donohue
577cc51a65
Fix for DS-752: Invalid METS generated for Items with no Bundles
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5862 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 19:10:53 +00:00
Tim Donohue
99f0a0e8b9
Remove old-style License Headers from some source files which still had them. In most of these, the old-style header was not at the immediate top of the file, so after the header switch they contained both the new and the old headers.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5860 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 18:15:13 +00:00
Graham Triggs
df23ba91e5
Remove unnecessary Item row update
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5858 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-16 12:22:55 +00:00
Mark Diggory
ff1cdae762
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5852 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 07:09:59 +00:00
Mark Diggory
0994a94c79
[maven-release-plugin] prepare release dspace-1.7.0-rc1
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5850 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 07:09:45 +00:00
Mark Diggory
0d30c67d9e
Updated Licenses
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5844 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 05:29:14 +00:00
Mark Diggory
56d6e0e6db
upgrade to dspace-pom 7 and add in test-jar creation only where needed.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5837 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-12 02:26:44 +00:00
Stuart Lewis
8377f93202
[DS-525] Move item - inherit default policies of destination collection
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5829 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 21:16:20 +00:00
Graham Triggs
708c208e25
Fix potential NullPointerException in cleanIndex
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5825 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-11 11:38:21 +00:00
Robin Taylor
8f3419b09a
[DS-401] Backed out as it raised more questions than it answered.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5822 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 20:00:42 +00:00
Richard Rodgers
05a85b7b0e
Add virus scan task
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5821 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-10 19:48:49 +00:00
Mark Diggory
e98984bd88
Correct dependency issues with JMockit third party dependencies.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5813 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 18:58:33 +00:00
Mark Diggory
8e5d1a2206
Drop all thirdparty repository dependencies and prepare to use common dspace-pom for repository configuration
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5796 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-09 04:20:14 +00:00
Peter Dietz
72ce26d0d9
[DS-396] Provide metatags used by Google Scholar for enhanced indexing.
...
Added simple default strategy for getting the citation_pdf_url of the bitstream.
Changed JSPUI implementation to keep more of the work in the GoogleMetadata class.
Changed the default config for citation_pdf_url to use the simple strategy to get the bitstream of PDF.
Issue #DS-396 - Provide metatags used by Google Scholar for enhanced indexing
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 22:58:24 +00:00
Sands Fish
1f18c72fa5
[DS-396] Provide metatags used by Google Scholar for enhanced indexing - XMLUI & JSPUI integration, as well as dspace.cfg values to enable/disable the feature, and config/google-metadata.properties to configure metadata mapping. (The latter configuration file defaults should be further informed by the community.)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 22:23:32 +00:00
Graham Triggs
3a7af77b76
Remove unnecessary canonicalization
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-07 16:47:20 +00:00
Richard Rodgers
7e790f684d
[DS-742] fix ArrayBounds exception
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5756 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-06 17:20:42 +00:00
Graham Triggs
6369f5d078
Moved final System.exit()
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 23:47:11 +00:00
Graham Triggs
f173e7ef01
Add option to not dump metadata values to console
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 23:39:00 +00:00
Graham Triggs
9d3a759dd3
Add timing to ItemImport
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 22:35:32 +00:00
Graham Triggs
2950ed7f7a
[DS-743] Fix out of memory exception with ItemImport
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 22:28:34 +00:00
Mark Diggory
ac94a16211
[DS-742] Embargo Fails with Null Pointer Exception on Item Install.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 20:47:49 +00:00
Mark Wood
1dd547a909
Make matching of default Group names much more strict. We actually have nondefault groups with names like
...
CIBP_StemCell_HumanCloning_Submitters.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 20:46:49 +00:00
Graham Triggs
4a040593ac
[DS-734] Improve efficiency of Database accesses
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 15:27:18 +00:00
Graham Triggs
dcfc2956f1
[DS-732] Improve efficiency of record inserts (Postgres only)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 13:14:34 +00:00
Graham Triggs
8bdce730ba
[DS-707] Multithreaded correctness
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-05 09:08:59 +00:00
Graham Triggs
37d3c25bde
[DS-739] Add delayed index flusher
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:55:34 +00:00
Graham Triggs
3af741abd2
[DS-739] Convert list to map to deduplicate tasks for the same handle
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5728 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:19:59 +00:00
Graham Triggs
1887864b20
[DS-739] Writes empty documents (with modification time and status) for withdrawn or deleted handles to the index - useful for harvesting
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5727 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 23:14:17 +00:00
Graham Triggs
2d3a8e6b21
[DS-739] Batch processing mode extended to itemimport, filter media. Configurable option for batch size added
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 22:34:25 +00:00
Graham Triggs
3467c5b616
[DS-739] Initial refactorings to support better perfomance.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-11-04 17:34:12 +00:00