Skip to content
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

Campanil partenza opening hours has no value #40

Open
DavidLeoni opened this issue Apr 21, 2016 · 0 comments
Open

Campanil partenza opening hours has no value #40

DavidLeoni opened this issue Apr 21, 2016 · 0 comments

Comments

@DavidLeoni
Copy link
Member

DavidLeoni commented Apr 21, 2016

In odr when reading campanil partenza I get poening hours with no value. Db and sweb are the same used for testing 0.3.5 release

sweb api:

REDACTED-SERVER/odr-api/instances/64235?maxDepth=1&includeSemantics=false&maxValues=10&includeAttributes=true&createAttributeMap=false&attributeFilterType=ATTRIBUTE_DEF_ID&includeAttributesAsProperties=false&includeTimestamps=false&locale=all

Here we see there are actually values in the attribute 214750

   {
      "id": 214750,
      "instanceId": 64235,
      "conceptId": 111008,
      "definitionId": 66,
      "categoryId": 15,
      "dataType": "COMPLEX_TYPE",
      "name": {
        "en": "Opening hours",
        "it": "Orario di apertura"
      },
      "values": [
        {
          "id": 63649,
          "attributeId": 214750,
          "sortIndex": 0,
          "dataType": "COMPLEX_TYPE",
          "operator": "EQUAL",
          "value": {
            "@type": "Structure",
            "id": 64238,
            "entityBaseId": 1,
            "typeId": 7,
            "attributes": [
              {
                "id": 214752,
                "instanceId": 64238,
                "conceptId": 111011,
                "definitionId": 31,
                "categoryId": 8,
                "dataType": "STRING",
                "name": {
                  "en": "Opening time",
                  "it": "Orario di apertura"
                },
                "values": [
                  {
                    "id": 125413,
                    "attributeId": 214752,
                    "sortIndex": 0,
                    "dataType": "STRING",
                    "operator": "EQUAL",
                    "value": "08.30 "
                  }
                ]
              },
              {
                "id": 214753,
                "instanceId": 64238,
                "conceptId": 73048,
                "definitionId": 30,
                "categoryId": 8,
                "dataType": "STRING",
                "name": {
                  "en": "Closing time",
                  "it": "Orario di chiusura"
                },
                "values": [
                  {
                    "id": 125414,
                    "attributeId": 214753,
                    "sortIndex": 0,
                    "dataType": "STRING",
                    "operator": "EQUAL",
                    "value": " 16.30"
                  }
                ]
              }
            ]
          }
        }
      ]
    }

log in odr:

21:04:2016:11:24:39.726 [main] WARN  e.t.o.d.model.entity.StructureODR - FOUND NULL VALUE FOR SWEB ATTRIBUTE WITH ID214750, SWEB DATATYPE COMPLEX_TYPE AND OE DATATYPE oe:structure , discarding it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant