Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
CloneHelper does not clone onDelete or onUpdate.
When CloneHelper clones a foreign key, it does not set the onDelete and onUpdate to the the created ForeignKey.
The solution to this seems simple enough: add
result.setOnDelete(source.getOnDelete());
result.setOnUpdate(source.getOnUpdate());
to the clone method for ForeignKey objects