polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ZEST-61) In Lifecycle.create(), @This can't be used in EntityBuilder's to set non-Optional values.
Date Sat, 22 Aug 2015 06:12:51 GMT

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

Niclas Hedhman closed ZEST-61.
------------------------------

Closing all fixed issues.

> In Lifecycle.create(), @This can't be used in EntityBuilder's to set non-Optional values.
> -----------------------------------------------------------------------------------------
>
>                 Key: ZEST-61
>                 URL: https://issues.apache.org/jira/browse/ZEST-61
>             Project: Zest
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Paul Merlin
>            Assignee: Niclas Hedhman
>              Labels: entity, lifecycle
>             Fix For: 2.1
>
>
> If I create Entity A, and in its LifeCycle.create() method I try to create an Entity
B that needs an association to Entity A, Entity A is not visible to the creation process within
the EntityBuilder.
> However, if the Entity B is first created, and then Entity A is assigned to Entity B,
that works. This however, introduces a lot of @Optional in aggregates, when they shouldn't
be.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message