Editing fails to save

Discussion created by matthewb on Apr 23, 2013
Latest reply on Apr 25, 2013 by matthewb

I have a script that creates map packages based on a template for different input data (in different locations). The schema and coordinate system are identical, however edits to scripted packages fail to save. They draw in the application and are visible on the map (as graphics), but they fail to persist between sessions. No error is returned by the application.

I have found that the cause is a difference in "GeometryDef grid size 1" between the template and scripted feature classes and the issue is resolved by adding the same grid size to the CopyFeatures args. What I don't understand is why the spatial grid would stop the edits from saving.

I'm not 100% sure, but I think this wasn't an issue prior to 10.1.1.