From 7cee8a28ba7c972e510aa00dc8f6cb7c999cc2fb Mon Sep 17 00:00:00 2001 From: LoveIsGrief Date: Wed, 22 Jan 2020 15:07:00 +0100 Subject: [PATCH] FileLoadedEvent should include class when coming from old persister Otherwise the new PersisterFolderService won't migrate --- .../groovy/com/muwire/core/files/BasePersisterService.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/groovy/com/muwire/core/files/BasePersisterService.groovy b/core/src/main/groovy/com/muwire/core/files/BasePersisterService.groovy index 68641142..65d601f7 100644 --- a/core/src/main/groovy/com/muwire/core/files/BasePersisterService.groovy +++ b/core/src/main/groovy/com/muwire/core/files/BasePersisterService.groovy @@ -71,7 +71,7 @@ abstract class BasePersisterService extends Service{ sf.hit(searcher, timestamp, query) } } - return new FileLoadedEvent(loadedFile: sf) + return new FileLoadedEvent(loadedFile: sf, sourceClass: this.class) }