I am having the following issue when i try to update an SDE Geodatabase featureclass geometry from arcpy
SQL Server Geodatabase
Line featureclass with enabled: Archiving , Editor Tracking and Registered as Versioned.
The line featureclass also participates in a replica as the source layer.
The line fetureclass can be edited fine from arcmap.
Because we do receive new updated line geometries (features) from another source i have bulid a python script that joins the 2 datasets based on an attribute key and and tries to update the geometry on the Line Featureclass.
I am using the following code tu update the geometry.
fieldNames = ['ID', 'SHAPE@','SHAPE@WKT']
with arcpy.da.UpdateCursor(line_layer, fieldNames) as updateCursor:
for tmpRow in updateCursor:
tmpRow = #newgeometry that was read previusly
The code runs without any error but the geometry is not updated. I tested the code for other attributes and they were updated correctly.
Any ideas ?