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

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

Open
sdandam opened this issue Mar 13, 2019 · 0 comments
Open

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

sdandam opened this issue Mar 13, 2019 · 0 comments

Comments

@sdandam
Copy link
Collaborator

sdandam commented Mar 13, 2019

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.

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