Skip to content

Missing sub-index entries from arrays on odg list #60

@sveinse

Description

@sveinse

Array containing only value is missing from output.

odg list myod.json -i 4099

Image

It should be

Image

Configuration:

    {
      "index": "0x1003",  // 4099
      "name": "Pre-defined Error Field",
      "struct": "array",
      "group": "built-in",
      "mandatory": false,
      "profile_callback": true,
      "each": {
        "name": "Standard Error Field",
        "type": "UNSIGNED32",  // 7
        "access": "ro",
        "pdo": false,
        "nbmin": 1,
        "nbmax": 254
      },
      "sub": [
        {
          "name": "Number of Errors",
          "type": "UNSIGNED8",  // 5
          "access": "rw",
          "pdo": false
        },
        {
          // "name": "Standard Error Field"
          // "type": "UNSIGNED32"  // 7
          "value": 0
        },
        {
          // "name": "Standard Error Field"
          // "type": "UNSIGNED32"  // 7
          "value": 0
        },
        {
          // "name": "Standard Error Field"
          // "type": "UNSIGNED32"  // 7
          "value": 0
        },
        {
          // "name": "Standard Error Field"
          // "type": "UNSIGNED32"  // 7
          "value": 12
        }
      ]
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions