Closed milanmajchrak closed 1 year ago
Notes: Where does the resourcepolisy create?
admin
attribute filled: community with id 44. That's the reason why there is incompatibility between resourcepolicy in their data and our data connected with community.2 Collection create collection (CollectionServiceImpl [139] -> Anonymous - READ, DEFAULT_ITEM_READ, DEFAULT_BITSTREAM_READ create workflowrole -> collection workflow_step_2 ->XmlWorkflowServiceImpl [188] -> ADD
submitter -> CollectionServiceImpl [509] -> ADD coll2group -> CollectionServiceImpl [938] -> remove existing privileges from anonymous group and add DEFAULT_BITSTREAM_READ and DEFAULT_ITEM_READ -> WORKS
Collections: missing 6
There are differences between some resource policies. As named in import Statistics:
expected = number of rows in old (5.2) database imported = number of rows in new (7.5) database duplicated = policy DEFAULT_READ from old DSpace is now divided into DEFAULT_BITSTREAM_READ and DEFAULT_ITEM_READ. Therefore for each one such resource policy in old DSpace, there are two resource policies in new DSpace. unimported = amongst other things, most importantly this number includes such resource policies from old dspace, that related to an item no longer existing. Therefore REST API did not allow importing such resource policy. There are also errors counted in this number.
Should be checked here
https://github.com/dataquest-dev/dspace-python-api/issues/105
It is developed here: https://github.com/dataquest-dev/dspace-python-api/issues/101
In clarin DSpace for each item there are several resource policies, that are not necessary, since in DSpace 7.5 those policies are hierarchical.