Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-61

In Lifecycle.create(), @This can't be used in EntityBuilder's to set non-Optional values.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1

    Description

      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.

      Attachments

        Activity

          People

            niclas Niclas Hedhman
            eskatos Paul Merlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: