-
Notifications
You must be signed in to change notification settings - Fork 105
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. Cygnus is using case sensitivity with attributes although arcgis is not case sensitive #2320
Comments
It seems the responsible for checking the existence of the attribute taking in account the case is the method Lines 624 to 626 in 8bcbbed
because when attributes that don't match the method
|
Done in db8f423 |
PR #2319 with the fix has been merged. @danielvillalbamota could you have a look and close this issue if it is already solved by that PR, pls? (or specify what's missing or not working in negative case) |
That PR included the last commit that was not enough to solve this issue, in fact, it introduced a not desired behavior, so it has been reverted in this PR #2321. This issue still exists but can be avoided by using name mappings |
In version 3.3.0 we have provided a solution that solves this issue but requires NM. The definitive solution for this issue will be a solution which doesn't need NM usage. |
Cygnus no actualiza los atributos si en el CB el atributo está definido como mayúsculas y en la capa Arcgis está definido con minúsculas.
Arcgis no es case sensitive respecto a los atributos (features) que se le indican en un "updateFeature", seguramente en un "addFeature" tampoco. Esto quiere decir que un campo de la capa Arcgis está definido como "la10" se le puede enviar la petición con la feature "LA10" y lo actualiza correctamente.
Parece que el sink está haciendo un filtrado de los atributos que se van a enviar y no coinciden con los atributos existentes en la capa. Puede ser en el siguiente punto:
fiware-cygnus/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java
Line 391 in 031d7b0
Esto a lo mejor podría resolverse como en otras ocasiones con
equalsIgnoreCase()
The text was updated successfully, but these errors were encountered: