lørdag 21. februar 2009

Bugs fixed during testing period

The list below contains the bugs that I fixed today. Normally you would not make any changes to an application during a testing period, but the testing period here is so extended that I decided to consider it as two testing periods. The bugs fixed now were the most annoying bugs concerning business logic.

  • Duplicate news items are created when a trade is made.

  • There is a spelling mistake in one of the automatically generated news items. See if you can spot it.

  • You can't cancel an offer to buy stocks in a prediction if you have sold all your stocks in that prediction.

  • Offers that expires are removed one day too late. They can't be accepted, but it does take a day before the player gets the stocks or the money back.

  • Double check for enough money to buy stocks is unnecessary. The money are withdrawn immediately, yet there is an additional check if the player who wants to buy has enough money to buy.

1 kommentar:

  1. I also fixed that for an admin, editing a news item was not possible. In addition I added several useful unit tests on the end of the prediction since another important error was discovered when a prediction ended unsuccessfully before its end date.

    SvarSlett