Bug fixing issue #24902. Added parameter "fileSetPath" to Document
This commit is contained in:
parent
4960b50795
commit
cc84875c23
|
@ -3,6 +3,7 @@
|
|||
## [v1.0.14-SNAPSHOT]
|
||||
|
||||
- Fixed deploying of multiple versions of the default-lc-managers [#24875]
|
||||
- Bug fixing the 'deleteFileSet' function [#24902]
|
||||
|
||||
## [v1.0.13] - 2023-02-23
|
||||
- Integrating new facilities and bug fixing released in the Plugins
|
||||
|
|
|
@ -807,7 +807,8 @@ public class ProfiledMongoManager extends MongoManager implements MongoManagerI<
|
|||
RegisteredFileSet fs = Serialization.convert(wrapper.getByPath(path).get(0), RegisteredFileSet.class);
|
||||
log.debug("Going to delete {}", fs);
|
||||
|
||||
doc = triggerEvent(doc,EventExecutionRequest.Events.ON_DELETE_FILESET,new Document("force",force).append("path",path));
|
||||
//Updated by Francesco. See #24902
|
||||
doc = triggerEvent(doc,EventExecutionRequest.Events.ON_DELETE_FILESET,new Document("force",force).append("path",path).append("fileSetPath", path));
|
||||
|
||||
// Actually delete only if event was ok
|
||||
if(doc.getLifecycleInformation().getLastOperationStatus().equals(LifecycleInformation.Status.OK)) {
|
||||
|
|
Loading…
Reference in New Issue