Git Product home page Git Product logo

Comments (5)

danielvillalbamota avatar danielvillalbamota commented on July 28, 2024

It seems the responsible for checking the existence of the attribute taking in account the case is the method containsKey () in:

public boolean hasAttribute(String attName) {
return arcGISFeatureTable.getTableAttributes().containsKey(attName);
}

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.

AlvaroVega avatar AlvaroVega commented on July 28, 2024

It seems the responsible for checking the existence of the attribute taking in account the case is the method containsKey () in:

public boolean hasAttribute(String attName) {
return arcGISFeatureTable.getTableAttributes().containsKey(attName);
}

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.

fgalan avatar fgalan commented on July 28, 2024

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.

danielvillalbamota avatar danielvillalbamota commented on July 28, 2024

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.

fgalan avatar fgalan commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.