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

Dan Haywood closed ISIS-213.
----------------------------


mothballed component; use wicket viewer instead.
                
> Incorrect value rendered for "other" parameters for contributed action (when 
> those other parameters do not have defaults).
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-213
>                 URL: https://issues.apache.org/jira/browse/ISIS-213
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: HTML
>    Affects Versions: 0.2.0-incubating
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: viewer-html-1.0.0
>
>
> Tries to guess the value, but gets it wrong... in MethodTask constructor:
> [snip]
>             if (defaultParameterValues[i] == null) {
>                 if (action.isContributed()) {                      <<< 
> problem is here, ends up applying the target value for all parameters.
>                     initialState[i] = target;
>                 } else {
>                     initialState[i] = null;
>                 }
>             } else {
>                 initialState[i] = defaultParameterValues[i];
>             }
> [/snip]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to