7

I just had the most embarrassing moment in programming... I am writing an administration / client / invoice webapp and I was testing an export function that worked locally, because everything that was being exported was inside the folder.

So I exported the files in test production, but some invoices didn't exist. So when they don't exist, the system creates a new invoice.

Because I was running on the test production (with client data) the system emailed the created invoices to the clients.. now I have to contact some clients and tell them the invoices were sent accidentally.

Comments
  • 2
    Short list of substitute data for real data in test:
    Email: foo@bar.com
    US TIN/SSN: 123456789
    Phone: 555-867-5309
    EDI PO Number: TEST0123TEST

    This is one time when you want to run the UPDATE statement without a WHERE. Just wrap it in a BEGIN TRAN or you will have to test your backup restore jobs as well.
  • 0
    Did the same shit on live env. but the problem was that the sent invoices get dont get managed by hand...
Add Comment