CS2212-2012-G2 / SurvivorPool

CS2212 Project
Other
1 stars 0 forks source link

Potential error with file I/O and player selections #73

Closed ghost closed 12 years ago

ghost commented 12 years ago

By Player Selections, I mean the Weekly/Ultimate Picks for each player.

Steps I took to reach this error:

Alpha:

1) Become ridiculously handsome

Testing:

1) Create full season (or use handy dandy test .dat files) 2) Fill out the weekly/Ultimate pick sections for 1..* Users after the season has started. 3) Close the window - prompt file output 4) Refresh the project (or don't) and re-run the MainFrame class


5) Note that you will receive a number of "InvalidFieldException" handling messages equal to the number of weekly picks you made. 6) Go to the player panel and discover that all of the entries that had originally contained contestants now simply say "null", but are changeable. 7) For any User that had no picks made for them, the "Points" column now reads as having 26.

Labelled as bug - not sure if bug or just me.

Nava2 commented 12 years ago

Fixed the 26 issue. :) ed9f22f

JonDemelo commented 12 years ago

This seems to be just a symptom of our overall issue with total data persistance in general. While a lot of the data is persistant, like users and contestants, a lot still isn't, and until we get all that state data and things of that sort dealt with, there's going to be issues like this.

Nava2 commented 12 years ago

I definitely fixed the selection bug with the players, I'm going to go fix it with the contestants now.

slyos commented 12 years ago

Seems like it has been fixed.