Commit Graph

72 Commits

Author SHA1 Message Date
Vincenzo Mecca
b1c1edc7f0 [DURACOM-125][#8736] Preserved order of modified MetadataValues
feat:
  - Introduced new Class with static methods usable to order
`MetadataValue` lists;
  - Introduced ITs also for `PatchMetadata` replace operations;
  - Introduced new method `DspaceObject#getMetadataFieldId`.
ref:
  - Replaced old sort method inside `ItemServiceImpl` with the new one
2023-03-24 17:34:02 +01:00
Bruno Roemers
d119d842f8 Merge branch 'main' into feature-relationship-versioning-contribution 2022-05-04 11:46:28 +02:00
Bruno Roemers
efd5b8e9a0 Merge remote-tracking branch 'worldbank-7/w2p-86592_Fix-relationship-place-issues_Community-contrib' into feature-relationship-versioning 2022-03-11 16:35:28 +01:00
Tim Donohue
f9b438dfc8 Merge pull request #8165 from atmire/w2p-87384_Fix-null-metadata-values-being-added
Fix Null metadata values being added
2022-02-17 14:47:58 -06:00
Yana De Pauw
eaac8a6324 87384: Fix Null metadata values being added #2 2022-02-11 10:43:56 +01:00
Yura Bondarenko
9664296af6 86201: Fix RelationshipService place handling
Correctly take into account the place of other Relationships and/or MDVs when creating/modifying/deleting Relationships
Simplify RelationshipService public API to avoid having to call updatePlaceInRelationship explicitly
Additional tests to cover issues with the previous implementation
2022-02-01 14:53:18 +01:00
Tim Donohue
99fe85b608 Remove noisy/duplicative debug logging about identifiers (clutters our test environment logs) 2022-01-04 13:58:20 -06:00
Tim Donohue
1dea1adf1e Merge pull request #8045 from atmire/Avoid-incorrect-sort-entities
Avoid incorrect sort
2021-12-09 12:14:06 -06:00
Ben Bosman
f179436284 Avoid incorrect sort 2021-11-26 12:12:24 +01:00
Tim Donohue
e2a95c49c5 Merge pull request #3063 from mwoodiupui/3061
Fix many warnings from errorprone
2021-09-22 14:26:08 -05:00
Mark H. Wood
f3175d56d5 Merge branch 'main' into 3061 2021-09-07 14:30:20 -04:00
Yura Bondarenko
f0079d7555 83338: Fix moveMetadata index caching issue 2021-09-07 13:51:32 +02:00
Alessandro Martelli
4d68fa4ad3 [CST-4039] Patch Add entire array with virtual values does not work 2021-04-07 16:47:27 +02:00
Ben Bosman
79830641e2 Marking metadata as updated after adding a metadata value 2021-02-23 12:11:37 +01:00
Mark H. Wood
f6112babc3 More errorprone warnings. #3061 2020-11-24 20:22:06 -05:00
Mark H. Wood
65f04fcec9 First batch of errorprone fixes. #3061 2020-11-24 10:55:08 -05:00
Mark H. Wood
6569089228 Remove deprecated setMetadata of CommunityService, CollectionService #2956
This introduces a new class:  a holder for metadata field names.
2020-11-17 13:53:49 -05:00
Mark H. Wood
7ab6aed276 Remove deprecated getMetadata(Context, String) from CommunityService, CollectionService. 2020-11-17 13:46:10 -05:00
Kristof De Langhe
6514183f45 Merge branch 'master' into w2p-68820_Moving-relationships-ITs
Conflicts:
	dspace-api/src/main/java/org/dspace/content/DSpaceObjectServiceImpl.java
2020-02-20 17:23:42 +01:00
Ben Bosman
71c5cc678f When moving metadata, make sure virtual metadata is handled correctly 2020-02-19 14:50:26 +01:00
Ben Bosman
243b0c077f When moving metadata, make sure virtual metadata is handled correctly 2020-02-18 13:29:31 +01:00
Ben Bosman
b8bca78e50 When moving metadata, make sure virtual metadata is handled correctly 2020-02-18 12:50:55 +01:00
Kevin Van de Velde
62461febe1 Merge branch 'master' into DS-4389-improving-patch-system-framework 2019-11-27 14:55:16 +01:00
Marie Verdonck
ac57139d10 66075: Improvements from feedback:
- DspaceObjectMetadataOperation.performPatchOperation()
  > Logic split into seperate methods
- DspaceObjectMetadataOperation.replace()
  > Split into method per case
2019-11-13 19:01:18 +01:00
Marie Verdonck
8af15603ef 65997: ReplacePatchOperation function moved to subclasses &
EPersonOperationFactory removed, no longer useful
TODO: fix failing tests of replace in two operations
2019-11-06 20:12:49 +01:00
Raf Ponsaerts
b0b886d16f [Task 65568] updated javadoc and comments 2019-10-15 13:48:44 +02:00
Raf Ponsaerts
27d5853d8e [Task 65568] implemented tests and fixed checkstyle 2019-10-15 08:48:52 +02:00
Raf Ponsaerts
211e8f72a1 Merged dspace/master into configurable_entities 2019-04-05 13:45:01 +02:00
Andrea Bollini
19606943b1 DS-3851 community feedback: code cleanup 2019-03-14 23:49:35 +01:00
Raf Ponsaerts
7f194dfa95 Applied feedback 2019-02-20 11:28:34 +01:00
Ben Bosman
96f08e4414 Merge branch 'w2p-59343_support-ordered-metadata' into w2p-58898_place-column-calculation-error
# Conflicts:
#	dspace-spring-rest/src/main/java/org/dspace/app/rest/repository/DSpaceRestRepository.java
2019-01-29 10:41:05 +01:00
Ben Bosman
7abc5b01e2 Merge remote-tracking branch 'origin/w2p-57159_permission-to-create-relations' into w2p-58898_place-column-calculation-error
# Conflicts:
#	dspace-api/src/main/java/org/dspace/content/RelationshipServiceImpl.java
#	dspace-api/src/main/java/org/dspace/content/service/RelationshipService.java
2019-01-29 09:58:22 +01:00
Raf Ponsaerts
a62a66ec41 removed the ItemService from the DspaceObjectService 2019-01-28 14:10:36 +01:00
Raf Ponsaerts
7d961db6ce Applied feedback 2019-01-28 11:49:19 +01:00
Raf Ponsaerts
7e14562139 Merged configurable_entities into w2p-57159_permission-to-create-relations 2019-01-22 12:50:44 +01:00
Ben Bosman
461b5ee21a typing error 2019-01-22 11:15:28 +01:00
Raf Ponsaerts
86f3f9e9c3 Fixed tests and place calculation 2019-01-22 09:53:52 +01:00
Raf Ponsaerts
bfc1b39ea2 Merged configurable_entities into w2p-58898_place-column-calculation-error 2019-01-21 09:19:01 +01:00
Raf Ponsaerts
a757a6661e Fixed the relationship place ordering and MetadataValue place ordering 2019-01-15 11:51:48 +01:00
Andrea Bollini
c8e11e6700 Merge remote-tracking branch 'origin/master' into DS-3851_workflow 2019-01-01 13:00:11 +01:00
Raf Ponsaerts
4e51fd0c86 Added support for the leftItem and rightItem through the parameters 2018-12-14 17:20:45 +01:00
Tim Donohue
ceed829800 Merge branch 'master' into configurable_entities 2018-12-06 17:05:31 +00:00
Raf Ponsaerts
b905f69d63 Refactored the usages of MetadataSchema.DC to use the enum instead 2018-11-21 09:35:11 +01:00
Raf Ponsaerts
cfeabe349c [Task 57188] added the logic for the advanced place column calculation. Enforced that all virtual metadata are valid metadatafields 2018-11-20 14:32:12 +01:00
Raf Ponsaerts
255de21271 [Task 57187] added the relationship ID after the virtual:: in the metadata field authority 2018-11-16 10:10:02 +01:00
Patrick Trottier
7f4b4e9f8a Convert getLogger() and Log4J imports for Log4J 2 2018-11-09 08:41:42 -05:00
Tim Donohue
200cede397 Upgrade to commons-lang3 to avoid dependency conv issues. 2018-11-08 20:35:57 +00:00
Raf Ponsaerts
b37d0e2167 Applied community feedback 2018-11-08 14:28:58 +01:00
Raf Ponsaerts
f223f1c067 DSpace 7 Entities 2018-10-24 10:24:09 +02:00
Luigi Andrea Pascarelli
25e3a69b8f DS-3851 Configurable Workflow endpoints 2018-08-27 20:20:24 +02:00