Is it possible to edit polylines with M values via the ArcGIS JavaScript API?

Discussion created by oolol on Nov 8, 2011
Latest reply on Nov 8, 2011 by DSwingley-esristaff
I am working with the ArcGIS JavaScript API and want to move and edit the vertices of a polyline analog to the following sample: http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_toolbar.html
This works fine as long as the polyline does not contain M Values. If it does contain M Values I get the following error in firebug.
Errorcode:-2147221399 description: �??Geometry does not have M Value(s), hence cannot update the feature."

What am I doing wrong?