Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1599

"Set" interface does not work as an action parameter's collection type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M4
    • Component/s: Isis Core
    • Labels:
      None

      Description

      When using a Set<MyClass> as a parameter for an action -> it throws an exception when using that action. The same works correctly when using List<MyClass>.

      ...
      java.lang.IllegalArgumentException
      argument type mismatch
      sun.reflect.NativeMethodAccessorImpl#invoke0(null:-2)
      sun.reflect.NativeMethodAccessorImpl#invoke(null:-1)
      sun.reflect.DelegatingMethodAccessorImpl#invoke(null:-1)
      java.lang.reflect.Method#invoke(null:-1)
      org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract#invokeMethodElseFromCache(ActionInvocationFacetForDomainEventAbstract.java:408)
      org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$2#execute(ActionInvocationFacetForDomainEventAbstract.java:262)
      org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$2#execute(ActionInvocationFacetForDomainEventAbstract.java:223)
      org.apache.isis.applib.services.iactn.Interaction#executeInternal(Interaction.java:173)
      org.apache.isis.applib.services.iactn.Interaction#execute(Interaction.java:143)
      ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hobrom Andi Huber
                Reporter:
                Varis Tadas Giniotis
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: