TAMULib / DSpace

(Official) The DSpace digital asset management system that powers your Institutional Repository
https://wiki.duraspace.org/display/DSDOC4x/Introduction
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

[DSpace 7 Upgrade] Reimplement administrative metadata import confirm and upload customizations #226

Open wwelling opened 6 months ago

wwelling commented 6 months ago

org.dspace.app.xmlui.aspect.administrative.metadataimport.MetadataImportConfirm

// TAMU Customization - Reload entity to avoid Hibernate no session error

org.dspace.app.xmlui.aspect.administrative.metadataimport.MetadataImportUpload

// TAMU Customization - Reload entity to avoid Hibernate no session error

This addressed a ORM session bug in DSpace 6.x. and prior that would prevent batch metadata import. Likely this has been addressed already in 7.x, but we will want to test to see if we need to bring in our fix again.

jsavell commented 5 months ago

Here's the original local PR: https://github.com/TAMULib/DSpace/pull/143

And we delivered the fix upstream, which removed the need for our customization: https://github.com/DSpace/DSpace/issues/7122 https://github.com/DSpace/DSpace/pull/1977

jsavell commented 5 months ago

Ran a local metadata import from csv. The process completed without a Hibernate or other error:

metadata-import15.log