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/08/03 13:06:04 UTC
[jira] [Commented] (ISIS-1082) Isis overrides the default values of
domain entities
[ https://issues.apache.org/jira/browse/ISIS-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651747#comment-14651747 ]
ASF subversion and git services commented on ISIS-1082:
-------------------------------------------------------
Commit 491f0479ddb7606695f4f112ce13e665482489e3 in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=491f047 ]
ISIS-1082: update to migration notes.
> Isis overrides the default values of domain entities
> ----------------------------------------------------
>
> Key: ISIS-1082
> URL: https://issues.apache.org/jira/browse/ISIS-1082
> Project: Isis
> Issue Type: Brainstorming
> Components: Core
> Affects Versions: core-1.8.0
> Reporter: Martin Grigorov
> Assignee: Dan Haywood
> Priority: Minor
>
> In a domain entity I wanted to use a property with a default value:
> {code}
> private boolean flag = true;
> // getter & setter
> {code}
> Surprisingly Isis re-initialized its value to 'false' after creating the instance by using the setter.
> http://isis.apache.org/more-advanced-topics/how-to-07-010-How-to-set-up-the-initial-value-of-a-property-programmatically.html explains the behavior but maybe we should rething whether Isis should initialize the properties at all.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)