FIRST-4030 / frc-scout

Web scouting software for FIRST Robotics Competition -- Recycle Rush
http://frcscout.com
18 stars 3 forks source link

Partial completion matches submitted on accident #124

Closed Enzoman34 closed 9 years ago

Enzoman34 commented 9 years ago

How to reproduce: scout a match, get past auto position, use back buttons to get back to main menu, start scouting a new match, submit that data, both matches will be submitted even if match 1 wasn't a complete record.

At least I think that is what I think is happening.

Solution: Discard any incomplete matches before pushing (check for if match score is null)

terabyte128 commented 9 years ago

Cannot reproduce. This may have been an issue from a while ago that I already fixed. There is already a check for unfinished matches before data is submitted.