Details
Description
To reproduce:
- create a new project from the archetype
- log into the console and delete /content
AutoExport is now in an endless loop, part of the stacktrace:
[INFO] [talledLocalContainer] 04.08.2017 16:20:58 ERROR pool-9-thread-1 [EventJournalProcessor.processEvents:397] Processing events failed: [INFO] [talledLocalContainer] java.lang.IllegalStateException: Cannot change a definition from module that is not being merged: hippo-cms/hippo-repository/hippo-repository-workflow for node: /content/documents [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.removeFromParentDefinitionItem(DefinitionMergeService.java:756) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.removeOneDefinitionItem(DefinitionMergeService.java:732) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.removeDescendantDefinitions(DefinitionMergeService.java:701) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.deleteNode(DefinitionMergeService.java:612) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeConfigDefinitionNode(DefinitionMergeService.java:313) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeChangesToModules(DefinitionMergeService.java:177) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.exportChangesModule(EventJournalProcessor.java:675) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.processEvents(EventJournalProcessor.java:388) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.tryProcessEvents(EventJournalProcessor.java:279) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.lambda$new$0(EventJournalProcessor.java:176) ~[hippo-repository-engine-5.0.1-SNAPSHOT.jar:5.0.1-SNAPSHOT]