Compare commits

...

2 Commits

Author SHA1 Message Date
Jens Kristian Villadsen 5e78550bde
Merge a574eb6f48 into 20d3e6bb25 2024-09-25 18:46:23 +02:00
Jens Kristian Villadsen a574eb6f48 Allow candidates to also be found when running $mdm-submit. 2024-05-02 10:12:30 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ public class MdmGoldenResourceFindingSvc {
}
boolean isUpdate =
theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.UPDATE_RESOURCE;
theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.UPDATE_RESOURCE ||
theParams.getContext().getRestOperation() == MdmTransactionContext.OperationType.SUBMIT_RESOURCE_TO_MDM;
// find MdmLinks that have theResource as the source
// (these are current golden resources matching this resource)