FeatureStore.modifyfeatures should take a Name[], not a AttributeDescriptor[] -----------------------------------------------------------------------------
Key: GEOT-2376 URL: http://jira.codehaus.org/browse/GEOT-2376 Project: GeoTools Issue Type: Improvement Components: core main Affects Versions: 2.5.3 Reporter: Andrea Aime Assignee: Jody Garnett Fix For: 2.6-M2 Taking a full AttributeDescriptor[] is unecessary and dangeours, as the user provided descriptor might be inconsitent with the ones declared by the datastore, e.g., they could have different constraints, different metadata or different bindings. The methods should just take enough information to locate the attributes that need updating, and eventually throw an exception if the attribute is not found in the schema. Not scheduling for the short term, but sure this looks like a design mistake that needs fixing at our next iteration of datatore improvements. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel