-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arcgis sink. Wrong objectid in UpdateFeatures #2313
Comments
another similar usage of setObjectId ( Line 255 in 9d18551
|
PR #2315 |
PR merged. Let's keep this issue opened, while @danielvillalbamota can confirm it is solved. |
It works, now is able to update features. I close the issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
When the sink check that a feature already exist by finding the
uniquefield
in the Feature Layer, it prepares the request to updateFeatures on that objectId, but instead of using the received objectId is using-1
:Problem
I guess the following code block is not finding any key as "OBJECTID_FIELDNAME" as long as the key is in fact "objectid" and "OBJECTID_FIELDNAME" is defined as
private static final String OBJECTID_FIELDNAME = "OBJECTID";
fiware-cygnus/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/model/Feature.java
Lines 227 to 241 in 9d18551
So, one possible solution is to check the key using
equalsIgnoreCase
method.The text was updated successfully, but these errors were encountered: