You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/29 07:59:05 UTC
[jira] [Commented] (ISIS-1179) Prevent the defaultXxx(...) being
called multiple times when invoke an action.
[ https://issues.apache.org/jira/browse/ISIS-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645499#comment-14645499 ]
ASF subversion and git services commented on ISIS-1179:
-------------------------------------------------------
Commit ceddc2c5b38b449b9f9b0ba7fbc2eec593278447 in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=ceddc2c ]
ISIS-1179: only call defaultXxx(...) once for action parameters.
> Prevent the defaultXxx(...) being called multiple times when invoke an action.
> ------------------------------------------------------------------------------
>
> Key: ISIS-1179
> URL: https://issues.apache.org/jira/browse/ISIS-1179
> Project: Isis
> Issue Type: Bug
> Components: Core
> Affects Versions: core-1.8.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: 1.9.0
>
> Attachments: first-call.png, second-call.png
>
>
> Looking into the code, we seem to call reset() - which is the method that utlimately calls the defaultXxx() methods - twice, once when we construct the ScalarModel and then again later when we make a call to clearArgs.
> Seems to be easy enough to call it just once.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)