[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Keir Haywood updated CAUSEWAY-3462:
------------------------------------------
    Description: 
in the demo app, use Prog Model >  [action section] > validate

In the middle section, use "selectTvCharactersByTvShowAndSexUsingName" action.
 * enter a TV show for the first param
 * enter a sex for the second param
 * enter a TV character for the 3rd param

This will trigger an exception ... the framework expects this to have only a 
single parameter and passes in the TvCharacter as the first param.

NB: the same functionality implemented using a Paramters object works fine, and 
is perhaps the recommended approach.  Even so, in v1 it used to work this way, 
so we need to preserve this behaviour.

  was:
in the demo app, use Action > validate

In the middle section, use "selectTvCharactersByTvShowAndSexUsingName" action.
 * enter a TV show for the first param
 * enter a sex for the second param
 * enter a TV character for the 3rd param

This will trigger an exception ... the framework expects this to have only a 
single parameter and passes in the TvCharacter as the first param.

NB: the same functionality implemented using a Paramters object works fine, and 
is perhaps the recommended approach.  Even so, in v1 it used to work this way, 
so we need to preserve this behaviour.


> [demo app] exception with Nth arg trying to obtain previous args
> ----------------------------------------------------------------
>
>                 Key: CAUSEWAY-3462
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3462
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core, Viewer Wicket
>    Affects Versions: 2.0.0-RC1
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-RC2
>
>
> in the demo app, use Prog Model >  [action section] > validate
> In the middle section, use "selectTvCharactersByTvShowAndSexUsingName" action.
>  * enter a TV show for the first param
>  * enter a sex for the second param
>  * enter a TV character for the 3rd param
> This will trigger an exception ... the framework expects this to have only a 
> single parameter and passes in the TvCharacter as the first param.
> NB: the same functionality implemented using a Paramters object works fine, 
> and is perhaps the recommended approach.  Even so, in v1 it used to work this 
> way, so we need to preserve this behaviour.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to