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

Error on ResourceModalPage when override a SpinnerField in the ConnectorModalPage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1, 2.0.0-M1
    • console
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: