Duplicate <to> value in merge ----------------------------- Key: CORE-102 URL: http://jira.andromda.org/browse/CORE-102 Project: AndroMDA Core Type: Bug Versions: 3.1 Environment: Mac OS X 10.4.3
java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode) Reporter: Jason Dillon Assigned to: Chad Brandon This relates to: http://galaxy.andromda.org/forum/viewtopic.php?p=8028 ---- I'm seeing some really strange problem when using a mapping URI for the spring cartridge. I wanted to add a simple mapping that would add a flush() post operation to save()/update()/delete()/deleteAll(). Attached SpringMergeMappings.xml is the full mapping file used to add the post operation (as well as the start of unit test generation). The problem is that for some reason the <to> value from the last mapping (for deleteAll()) gets applied twice. I've put the flush() inline with the deleteAll() with a // comment to avoid the duplicate in the generated code. This project was generated with the AndroMDA maven app gen plugin. Nothing too fancy. Attached is my andromda.xml too for reference. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click