Francesco Chicchiriccò created SYNCOPE-844:
----------------------------------------------
Summary: When showing propagation task details stacktrace is
reported instead
Key: SYNCOPE-844
URL: https://issues.apache.org/jira/browse/SYNCOPE-844
Project: Syncope
Issue Type: Bug
Components: console
Reporter: Francesco Chicchiriccò
Fix For: 2.0.0
How to reproduce with test data:
# create user and assign `resource-ldap`: the user is created fine
# go to Topology > resource-ldap > Propagation Tasks: the expected task is there
# click on the icon to display task details; the following stacktrace is
reported instead:
{quote}
org.apache.wicket.WicketRuntimeException: No get method defined for class:
class org.apache.syncope.common.lib.to.PropagationTaskTO expression: right
at
org.apache.wicket.core.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:500)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:351)
at
org.apache.wicket.core.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:254)
at
org.apache.wicket.core.util.lang.PropertyResolver.getValue(PropertyResolver.java:104)
at
org.apache.wicket.core.util.string.interpolator.PropertyVariableInterpolator.getValue(PropertyVariableInterpolator.java:65)
at
org.apache.wicket.util.string.interpolator.VariableInterpolator.toString(VariableInterpolator.java:148)
at
org.apache.wicket.Localizer.substitutePropertyExpressions(Localizer.java:586)
at org.apache.wicket.Localizer.getStringIgnoreSettings(Localizer.java:422)
at org.apache.wicket.Localizer.getString(Localizer.java:232)
at
org.apache.wicket.model.StringResourceModel.getString(StringResourceModel.java:439)
at
org.apache.wicket.model.StringResourceModel.getString(StringResourceModel.java:424)
at
org.apache.wicket.model.StringResourceModel.load(StringResourceModel.java:617)
at
org.apache.wicket.model.StringResourceModel.load(StringResourceModel.java:199)
at
org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:134)
at
org.apache.syncope.client.console.tasks.PropagationTasks$1.viewTask(PropagationTasks.java:49)
at
org.apache.syncope.client.console.tasks.PropagationTasks$1.viewTask(PropagationTasks.java:42)
{quote}
This likely happens because {{task.view}} in {{PropagationTasks:49}} resolves
into {quote}Executions of task '$\{right.name}'{quote} and
{{PropagationTaskTO}} does not have any {{right}} field.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)