[
https://issues.apache.org/jira/browse/ISIS-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456357#comment-16456357
]
Andi Huber commented on ISIS-1940:
----------------------------------
We need to fix this for all the support methods that take parameters as well:
[x] placeOrder(X x, Y y, Z z)
[ ] validate#PlaceOrder(X|Y|Z)
[ ] validatePlaceOrder(X x, Y y, Z z)
[ ] autoComplete#PlaceOrder(X,Y)
[ ] choices#PlaceOrder(X,Y) (n-1 args)
Both
# hook in the new
org.apache.isis.core.commons.lang.MethodInvocationPreprocessor
# and let meta-model validation fail on unsupported collection type
> MultiSelect Action Invocation throws IllegalArgumentException
> -------------------------------------------------------------
>
> Key: ISIS-1940
> URL: https://issues.apache.org/jira/browse/ISIS-1940
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M1
>
>
> Need to investigate this further, by now I just have this ...
> {code:java}
> java.lang.IllegalArgumentException
> argument type mismatch
> sun.reflect.NativeMethodAccessorImpl#invoke0(NativeMethodAccessorImpl.java:-2)
> sun.reflect.NativeMethodAccessorImpl#invoke(NativeMethodAccessorImpl.java:62)
> sun.reflect.DelegatingMethodAccessorImpl#invoke(DelegatingMethodAccessorImpl.java:43)
> java.lang.reflect.Method#invoke(Method.java:498)
> org.apache.isis.core.commons.lang.MethodExtensions#invoke(MethodExtensions.java:44)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)