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: 0.3.0-incubating


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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to