Skip to content

dspace import creates two rows in handle table #1297

@kosarko

Description

@kosarko
dspace=# select * from handle where resource_id='034a42c8-a634-45f1-bcea-1ad7d86d5b83';
 handle_id |         handle          | resource_type_id | resource_legacy_id |             resource_id              | url | dead | dead_since
-----------+-------------------------+------------------+--------------------+--------------------------------------+-----+------+------------
      8747 | 123456789/5920          |                2 |                    | 034a42c8-a634-45f1-bcea-1ad7d86d5b83 |     |      |
      8748 | 20.500.12801/3900885-05 |                2 |                    | 034a42c8-a634-45f1-bcea-1ad7d86d5b83 |     |      |
(2 rows)

this is after:

dspace-cli import -a -e EMAIL -c "$COL_ID" -s /import/ -m /import/mapfile_narodni_pamet_2025-12-05.txt

where import has directories in the simple archive format (https://wiki.lyrasis.org/pages/viewpage.action?pageId=104566653)

including the handle file namely:

 ls /opt/DATA/imports/nfa_narodni_pamet/import/3900885-05/
3900885_5_NAHLED.mp4  3900885_5_hd-master.mov  contents  dublin_core.xml  handle  metadata_local.xml  metadata_metashare.xml

I'm guessing this is some sort of conflict with the per community handle prefix functionality

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions