Comments (5)
It seems the responsible for checking the existence of the attribute taking in account the case is the method containsKey ()
in:
because when attributes that don't match the method hasAttribute
cygnus throws:
time=2023-10-26T14:17:05.542Z | lvl=DEBUG | corr=4edfa531-7443-4537-b94c-0b9b5717a52e; cbnotif=1 | trans=d2a0be73-29f7-41af-843c-200fc013a089 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=cleanFeature | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[693] : ArcgisFeatureTable, cleanFeature: Field not found in table, ignoring it, LA10
from fiware-cygnus.
It seems the responsible for checking the existence of the attribute taking in account the case is the method
containsKey ()
in:because when attributes that don't match the method
hasAttribute
cygnus throws:time=2023-10-26T14:17:05.542Z | lvl=DEBUG | corr=4edfa531-7443-4537-b94c-0b9b5717a52e; cbnotif=1 | trans=d2a0be73-29f7-41af-843c-200fc013a089 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=cleanFeature | msg=com.telefonica.iot.cygnus.backends.arcgis.restutils.ArcgisFeatureTable[693] : ArcgisFeatureTable, cleanFeature: Field not found in table, ignoring it, LA10
Done in db8f423
from fiware-cygnus.
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)
from fiware-cygnus.
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
from fiware-cygnus.
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.
from fiware-cygnus.
Related Issues (20)
- MongoDB indexes cyg_raw_opt could have worsened in newers versions HOT 9
- Cannot invoke "java.util.ArrayList.size()" because the return value of "java.util.LinkedHashMap.get(Object)" is null Sink: HOT 2
- Java 16 and 17 tests errors HOT 5
- add primary key to error log table creation (mysql percona does not allow tables without primary key) HOT 1
- STH Aggregator does not support more than one event HOT 2
- Runtime error (Failed making field 'java.util.regex.Pattern#pattern' accessible; (JDK17) HOT 1
- Support for MongoDB 6.0 and 7.0 HOT 2
- Defined enum GisAttributeType does not fit current Arcgis field types HOT 1
- Arcgis sink. Should quote unique id when is a esriFieldTypeString HOT 1
- Arcgis sink. Wrong objectid in UpdateFeatures HOT 4
- Docu: DM sections for STH sinks HOT 2
- Typo on image provided with README.md HOT 3
- Arcgis. esriFieldTypeSingle is not included in the cases of GisAttributeType HOT 3
- arcgis sink: transform vales for esriFieldTypeDate field automatically to timeinstamp from DateTime HOT 4
- Arcgis. Error when change the unique field value after a working persistence HOT 2
- arcgis sink uniqueId is not updated when customNotification is modified HOT 4
- mongoDB Unsupported OP_QUERY command HOT 19
- CygnusLD-MongoDB sink HOT 1
- reduce idle connections from sql pools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiware-cygnus.