syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [2/2] syncope git commit: [SYNCOPE-966] Fix
Date Thu, 10 Nov 2016 16:58:35 GMT
[SYNCOPE-966] Fix


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/047c00d4
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/047c00d4
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/047c00d4

Branch: refs/heads/master
Commit: 047c00d4b7f2b63245fbbf03080f719b9af3a44e
Parents: f9a232e
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Thu Nov 10 17:58:07 2016 +0100
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Thu Nov 10 17:58:22 2016 +0100

----------------------------------------------------------------------
 .../apache/syncope/client/console/tasks/AnyPropagationTasks.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/047c00d4/client/console/src/main/java/org/apache/syncope/client/console/tasks/AnyPropagationTasks.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/tasks/AnyPropagationTasks.java
b/client/console/src/main/java/org/apache/syncope/client/console/tasks/AnyPropagationTasks.java
index f187a05..5193036 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/tasks/AnyPropagationTasks.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/tasks/AnyPropagationTasks.java
@@ -18,6 +18,7 @@
  */
 package org.apache.syncope.client.console.tasks;
 
+import org.apache.commons.lang3.tuple.Pair;
 import org.apache.syncope.client.console.panels.MultilevelPanel;
 import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
 import org.apache.syncope.common.lib.to.AnyTO;
@@ -48,7 +49,7 @@ public class AnyPropagationTasks extends AbstractPropagationTasks {
             @Override
             protected void viewTask(final PropagationTaskTO taskTO, final AjaxRequestTarget
target) {
                 mlp.next(
-                        new StringResourceModel("task.view", this, new Model<>(taskTO)).getObject(),
+                        new StringResourceModel("task.view", this, new Model<>(Pair.of(null,
taskTO))).getObject(),
                         new TaskExecutionDetails<>(baseModal, taskTO, pageReference),
                         target);
             }


Mime
View raw message