Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2941

Regression: Generic numerical primitive Field Editing throws due to missing Conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Resolved
    • None
    • 2.0.0-M7
    • Viewer Wicket
    • None

    Description

      only affects primitives, eg with double:

       java.lang.IllegalArgumentException
      Object has incompatible type java.lang.String,must be an instance of java.lang.Double.
      org.apache.isis.commons.internal.exceptions._Exceptions#illegalArgument(_Exceptions.java:79)
      org.apache.isis.core.metamodel.spec.ManagedObjects#lambda$5(ManagedObjects.java:157)
      org.apache.isis.commons.internal.binding._BindableAbstract#setValue(_BindableAbstract.java:120)
      org.apache.isis.viewer.wicket.model.models.ScalarModel#setObject(ScalarModel.java:152)
      org.apache.isis.viewer.wicket.ui.components.scalars.TextFieldValueModel#setObject(TextFieldValueModel.java:70)
      org.apache.wicket.model.Model#setObject(Model.java:45) 
      

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: