You can view the issue detail at the following URL:
<http://nagoya.apache.org/scarab/issues/id/TRQS47>
Type : Defect
Issue Id : TRQS47
Reported by: Rafal Maczewski
[EMAIL PROTECTED] - ([EMAIL PROTECTED])
Details:
Summary: bug in torque generated copy() method
Description: There is a bug in copy() method generated by torque for objects that have
dependant objects. At present the copy method creates new set of dependent objects and
attaches new and old objects to the newly created object.
I created a test case that demonstrates the problem. In the test case there is Author
object with 10 Books. After calling Author.copy() and Author.save() for the, the new
author has 20 Books and the old one (if read again from the database) has none.
I have attached a patch that fixes the problem.
Status: New
--
To unsubscribe, e-mail: <mailto:turbine-torque-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-dev-help@;jakarta.apache.org>