Skip to content

Non-matching types for IDs (int64) and query parameter requested_items (array of int32) #140

Description

@bhufmann

Bug Description:

The entry IDs of tree entries (e.g. XYTreeEntry or TimeGraphEntry) through their base class TreeDataModel) are defined as int64 numbers (as well parentId). Those IDs are passed as input parameters in array requested_items to fetch the data (e,g, xy series, timegraph rows) for those entries, however the requested_items is defined as an array of int32 numbers.

The same is true for the TooltipParameters.

The types need to match in the API. Once this is fixed in the API the sever and client implementations need to be adapted for this.

Steps to Reproduce:

  1. Open API.yaml
  2. See data structure definition for TreeDataModel
  3. See data structure definitions for RequestedParameters and GenericXYRequestedParameters and TooltipParameters

Additional Information

Note: API definition needs to be updated through swagger annotations in the Trace Compass server.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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