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

Error on ResourceModalPage when override a SpinnerField in the ConnectorModalPage

    Details

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

      Description

      Class cast exception on ResourceModalPage when override a SpinnerField in the ConnectorModalPage.

      java.lang.ClassCastException: Cannot cast java.lang.Double to int
 at java.lang.Class.cast(Class.java:3005)
 at org.apache.syncope.console.wicket.markup.html.form.SpinnerFieldPanel$2.getObject(SpinnerFieldPanel.java:109)
 at org.apache.syncope.console.wicket.markup.html.form.SpinnerFieldPanel$2.getObject(SpinnerFieldPanel.java:100)
 at org.apache.wicket.Component.getDefaultModelObject(Component.java:1590)
 at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1618)
 at org.apache.wicket.markup.html.form.FormComponent.getModelValue(FormComponent.java:1291)
 at org.apache.wicket.markup.html.form.FormComponent.getValue(FormComponent.java:878)
 at org.apache.wicket.markup.html.form.TextField.onComponentTag(TextField.java:108)

        Attachments

        1. issue565.patch
          2 kB
          Giacomo Lamonaco

          Activity

            People

            • Assignee:
              giacomolm Giacomo Lamonaco
              Reporter:
              mdisabatino Marco Di Sabatino Di Diodoro
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: