Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0-Beta05
    • Fix Version/s: 3.0.0-CR01
    • Component/s: None
    • Labels:

      Description

      In org.exoplatform.webui.form.UIFormMultiValueInputSet.createUIFormInput

      Object [] params = new Object[classes.length];
      params[0] = getId()+String.valueOf(idx);
      UIFormInputBase inputBase = (UIFormInputBase)constructor_.newInstance(params);

      But , what if the constructor have an "int" parameter (which is the case for "UIFormUploadInput(String name, String bindingExpression, int limit)" ), this code couldn't convert null value to int (the unboxing mechanism will throws an exception IllegalArgumentException)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tan_pham_dinh Tan Pham Dinh
                  Reporter:
                  tan_pham_dinh Tan Pham Dinh
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: