Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2524

UIInputMany<Path> does not preserve the original path when InputComponents.setValue is called

    XMLWordPrintable

Details

    Description

      I suspect the CommandController has a bug in setValueFor() :
      When it's MANY and type is File, then when I call
      controller.setValueFor(InputPathOption.NAME, (File) inputFile);
      then getValueFor() returns List<List<File>>
      IMO it should return List<File>. Some auto-wrapping might be happening twice.

      Thanks for checking.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: