Details
-
Bug
-
Status: Open
-
High
-
Resolution: Unresolved
-
14.5.0, 15.6.1
-
None
-
None
-
Flagged
-
Orion
-
BrXM Backlog
Description
Steps to reproduce:
- Create a fresh project
- Create a new group
- Create a new user and add it to the group via usermanagement (hipposys:member attribute will be added to the group that way)
- Remove the user from the group (hipposys:member attribute will be an empty array after this)
- Add the user to the group again
- Autoexport will break by now and spam ArrayIndexOutOfBound exceptions
java.lang.ArrayIndexOutOfBoundsException: -1
[INFO] [talledLocalContainer] at java.util.ArrayList.elementData(ArrayList.java:424) ~[?:1.8.0_261]
[INFO] [talledLocalContainer] at java.util.ArrayList.get(ArrayList.java:437) ~[?:1.8.0_261]
[INFO] [talledLocalContainer] at java.util.Collections$UnmodifiableList.get(Collections.java:1311) ~[?:1.8.0_261]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergePropertyThatShouldExist(DefinitionMergeService.java:1742) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeProperty(DefinitionMergeService.java:1696) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeConfigDefinitionNode(DefinitionMergeService.java:888) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.DefinitionMergeService.mergeChangesToModules(DefinitionMergeService.java:270) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.exportChangesModule(EventJournalProcessor.java:587) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.processEvents(EventJournalProcessor.java:364) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.tryProcessEvents(EventJournalProcessor.java:251) ~[hippo-repository-engine-14.5.0.jar:14.5.0]
[INFO] [talledLocalContainer] at org.onehippo.cm.engine.autoexport.EventJournalProcessor.lambda$new$0(EventJournalProcessor.java:125) ~[hippo-repository-engine-14.5.0.jar:14.5.0]