Hello, I have an entity Order with a One-to-Many association to entities of class Items. I am using an Event Listener to track changes.
At every change of Order or depending association Invoice I need to do a full copy of the order to a "similar" entity Invoice+Invoice Items. As far as I understand the Event Listener doesnt detect (on changeset) the changes to One-To-Many association, but only to own Order members. Can anyone recommend me a good way to be able to track changes to "whole" Order-Items association so I can safely create the Invoices ? I dont have very much Doctrine experience. I guess there are some already defined "patterns" to achieve this. Just detecting that Items has changed (or new Items is persisted or removed) may not be enough to be able to be sure I am creating only one invoice for all Items. Thank you! Cristian -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
