Hello,
I found a bug when adding elements to a collection of Entities:
Event { Collection<Attachment> attachments; void addAttachment(Attachment attachment) { this.attachments.add(attachment); } }
Attachment { String filename }
If I call this method (all classes are enhanced) the version of the event does not increase and the updated event is not stored in the database (retrieve the event shows that the attachments field is still empty).
You find a complete use case at http://www.objectdb.com/database/24436/support/24435. After Download please start the Tester. It loads an existing Event, adds an attachment via addAttachment() method and checks in another transaction if this change was written or not. If I change the code to use the setAttachments() it also fails.
This is very urgent for us since we already lost important data because of this bug.
Thanks in advance
Markus Ritter