Bugs item #3472008, was opened at 2012-01-10 13:28 Message generated for change (Tracker Item Submitted) made by michaudm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3472008&group_id=118054
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: OpenJUMP - Menu - Edit Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: michael michaud (michaudm) Assigned to: Nobody/Anonymous (nobody) Summary: AssertionFailedException with two identical attribute name Initial Comment: How can two identical attribute names happen ? - with a sql query : ex. select geom, name, name, name from city (although I don't think a plain table can have duplicate names) - it can be saved/read to/from a shapefile, a jml (with different results !) - feature schema edition tool pevent such a schema edition What happens ? - a AssertionFailedException is thrown by plugins like * combine selected layers * clip map to fence * there are other problems if one try to change an attribute value using its name... What to do ? The minimum would be to throw a clearer message Maybe sufficient, automatic renaming seems a bit dangerous Refusing data loading maybe frustrating (although getting a yellow warning light be useful) Michaël ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3472008&group_id=118054 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel