This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch feature/SLING-9572
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-repoinit.git
The following commit(s) were added to refs/heads/feature/SLING-9572 by this
push:
new 6c71b88 Missed saving the session changes
6c71b88 is described below
commit 6c71b88e49bbc471647410362718ba4d841afe78
Author: Dan Klco <[email protected]>
AuthorDate: Thu Jul 9 14:21:02 2020 -0400
Missed saving the session changes
---
src/main/java/org/apache/sling/jcr/repoinit/impl/RepoInitWebConsole.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/src/main/java/org/apache/sling/jcr/repoinit/impl/RepoInitWebConsole.java
b/src/main/java/org/apache/sling/jcr/repoinit/impl/RepoInitWebConsole.java
index ac03410..4e9f48f 100644
--- a/src/main/java/org/apache/sling/jcr/repoinit/impl/RepoInitWebConsole.java
+++ b/src/main/java/org/apache/sling/jcr/repoinit/impl/RepoInitWebConsole.java
@@ -139,6 +139,7 @@ public class RepoInitWebConsole extends
AbstractWebConsolePlugin {
try {
session = getResourceResolver(request).adaptTo(Session.class);
processor.apply(session, operations);
+ session.save();
messages.add("EXECUTION SUCCEEDED!");
} catch (Exception e) {
messages.add("EXECUTION FAILED: ");