[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: "Spyrus reader" 0.2.1 display increments on unsuccessful card creation



From: owner-bugtrack@dieboldes.com [mailto:owner-bugtrack@dieboldes.com]On Behalf Of Tyler Links
Sent: Friday, February 02, 2001 12:04 PM

“Spyrus reader” 0.2.1

 

If the voter card is inserted incorrectly (so that the chip is not in contact with the, uh, contacts), and you attempt to create the card anyway, the card cannot be successfully created (obviously).  The display continues to prompt the user with “Create?”.  However, for every time that the <enter> key is pressed, the number on the display that shows the number of times that the “slot” has programmed a card increments. 

 

There are two problems here.  Both are fixed, and will be in the next release, which looks to be 1.0.0. 

 

First, if you insert a card backwards, or insert a card type that the Spyrus can't deal with (like the I2C cards), then a message "Bad Card." will now be displayed on the LCD.  The only user action then allowed is to remove the card, so the failed create attempt won't happen in the first place.

 

Second, if the card create fails for whatever reason on a card that was "good" when it was inserted, then the counter won't increment.  This really "can't happen", but in the event that it does (say you yank out the card mid-write), the counter won't increment either.

 

Ken