When Bad Programming meets Rookie User

kranky

Elite Member
Oct 9, 1999
21,019
156
106
Friend told me this story yesterday.

They use an old home-grown application where he works - a database that tracks orders into and out of his department. The programmer who did the work also did the user documentation. The program is controlled by two-letter codes entered by the user.

So they got a new employee last month to do the data entry. They reviewed the basic operation of the program with her, handed her the user manual and she went to work. One Friday the group leader reminded the new person to run the backup command before she left for the day. The new person didn't know how to do that, and grabbed the user manual.

The manual said:
To run the database backup, type in
(continued on next page)

And the next page began:
the BA command. The system will begin the backup and issue a message when complete.

The rookie user typed "IN".
IN was an undocumented command which initialized the database.
She was prompted Are you sure? Enter "Y" to continue:
She typed "Y", because she was sure she wanted to backup the database.

And it erased everything. As days went by the user just entered the daily information as always. At the end of the month, the production reports were run, and it wasn't until then that they realized everything older than three weeks was missing.

They had to re-enter three weeks worth of data at great expense, plus not having their month-end reports in on time, plus making the IT people scramble to restore the backup.
 

rh71

No Lifer
Aug 28, 2001
52,844
1,049
126
Are you sure you want to __________?

Are you sure is not enough.
 

newb111

Diamond Member
Oct 8, 2003
6,991
1
81
Originally posted by: rh71
Are you sure you want to __________?

Are you sure is not enough.

*********** WARNING ***********
YOU ARE ABOUT TO INITIALIZE THE DATABASE!
ALL DATA WILL BE LOST!

CONTINUE at your own PERIL y/N
 

kranky

Elite Member
Oct 9, 1999
21,019
156
106
Yeah, but you know how programmers are. He thought no one but him would ever use the IN command (after all, it wasn't even documented), so he didn't need any scary warnings.
 

sdifox

No Lifer
Sep 30, 2005
100,325
17,913
126
err, who let rookie users close to a system that can perform dump schema?
 

Ramma2

Platinum Member
Jul 29, 2002
2,710
1
0
Originally posted by: newb111
Originally posted by: rh71
Are you sure you want to __________?

Are you sure is not enough.

*********** WARNING ***********
YOU ARE ABOUT TO INITIALIZE THE DATABASE!
ALL DATA WILL BE LOST!

CONTINUE at your own PERIL y/N

Forget the Y/N prompt; our backup software makes us type out an entire sentence before wiping a tape.

 

OdiN

Banned
Mar 1, 2000
16,430
3
0
The programmer should be drug out in the street and shot. Really REALLY stupid design.

Also...why would a simple user even have access to delete ANYTHING? Okay maybe a record they made that they want to correct...but deleting EVERYTHING?

Wow....

At the least I'd fire the programmer for being a moron.
 

clamum

Lifer
Feb 13, 2003
26,256
406
126
LOL. Must've been in a real hurry to back that shit up, or blonde. Or both?

<--- blonde :eek: