eclipse-cdt-cloud / eclipse-cdt-cloud/trace-server-protocol
Non-matching types for IDs (int64) and query parameter requested_items (array of int32)
- Dominant language
- Python
- Stars
- 26
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.