Comcast / Comcast/Bynar

Bug: OperationInfo::new() created with device_id set to 0

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
61
Forks
13
PR merge metrics
No merged PRs in 30d

Description

main.rs::287 -- OperationInfo struct created with device_id set to 0. This will then create an operation entry in the device that doesn't correspond to any device and will essentially be a zombie and not found when looking for outstanding operations (since get_outstanding_tickets() will join operations table with the devices table).
Also change the struct to accept only valid input upon instantiation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.