Hey all,

I've got a strange problem that I'm hoping someone can help with.

I had my generic Add/Edit/Listing of entities going along pretty well.  But
I was managing the units of work from within the actions themselves so I
finally decided to pull that stuff out into an interceptor.  Now, when I go
to my page with a list of entities the first time it works ok.  The next
time one of the newly added values seems to get changed to match one of the
previously existing values.  The next time I load the page the second value
disappears completely.  I think I'm getting down to finding the real
problem.  If I complete the unit of work right after doing the query
everything seems to work fine.  But if I let the interceptor close the unit
of work after the view has been rendered, then in the UnitOfWork complete()
method the loaded entities appear to have been changed.  But there is
nothing that _should_ be modifying them.  The only place the returned list
of entities is used is from Freemarker, which shouldn't be doing any
modifications whatsoever.  Any ideas what I can do to figure out where these
entities are being changed or what could be going on?

Thanks,
Rich
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to