Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-844

When showing propagation task details stacktrace is reported instead

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M3
    • Component/s: console
    • Labels:
      None

      Description

      How to reproduce with test data:

      1. create user and assign `resource-ldap`: the user is created fine
      2. go to Topology > resource-ldap > Propagation Tasks: the expected task is there
      3. click on the icon to display task details; the following stacktrace is reported instead:

      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)

      This likely happens because task.view in PropagationTasks:49 resolves into

      Executions of task '${right.name}'

      and PropagationTaskTO does not have any right field.

        Attachments

          Activity

            People

            • Assignee:
              fmartelli fabio martelli
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: