relation not flushed when collection created after persist with enhanced entities

Description

When a collection is only created after the owning entity has been persisted, a change to that collection is not made persistent.
The attached test case (run with "mvn test") produces:

When run without enhancement or when the collection is created before flush (see comment in unit test), the test produces the expected outcome.

I don't know, if this was ever supported, or whether we just relied on unsupported behaviour until now. Would you please take a look?

Attachments

1

Activity

Show:
Out of Date

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 22, 2016 at 9:19 PM
Updated January 28, 2017 at 9:39 PM
Resolved January 28, 2017 at 9:39 PM