Select to view content in your preferred language

Weird Editing Issue

2181
1
11-15-2011 04:31 AM
CaseyBentz
Frequent Contributor
I am trying to figure out some weird thing that is going on with my editing application.  I am using the applyEdits method for a feature layer...
ami_Flayer.applyEdits(
null,[selectedGraphic],null,new AsyncResponder(editsCompleteHandler, featureLayer_faultHandler));

The problem I am having is that for certain features, I am unable to edit.  I get the generic unable to apply edits message returned. 

{"error":{"code":400,"message":"Unable to complete operation.","details":["Unable to apply edits"]}}

Yet, for others I can edit just fine.

{"addResults":[],"updateResults":[{"objectId":1733,"globalId" : null,"success":true}],"deleteResults":[]}

I have verified that selectedGraphic is a valid feature.
Tags (2)
0 Kudos
1 Reply
IvanBespalov
Frequent Contributor
Yes. We were found, what sometime it happens - it seems like service is working fine, all features are editable, but only 1 of them returns fault on change. We did not found why. Try to restart your service, may be it helps.
0 Kudos