The Artima Developer Community
Sponsored Link

Java Buzz Forum
Some Borkage Cured

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Elliotte Rusty Harold

Posts: 1573
Nickname: elharo
Registered: Apr, 2003

Elliotte Rusty Harold is an author, developer, and general kibitzer.
Some Borkage Cured Posted: Apr 30, 2008 9:36 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Elliotte Rusty Harold.
Original Post: Some Borkage Cured
Feed Title: Mokka mit Schlag
Feed URL: http://www.elharo.com/blog/feed/atom/?
Feed Description: Ranting and Raving
Latest Java Buzz Posts
Latest Java Buzz Posts by Elliotte Rusty Harold
Latest Posts From Mokka mit Schlag

Advertisement

OK, I think I’ve at least partially deborked the upgrade. There are still some problems with comments needing moderation. Holler if you notice any remaining problems. I still can’t figure out how to assign a category to a new post. I’m not sure if that’s remaining borkage or the new blog interface. (OK, got it: it’s the interface.)

The proximate cause was that the Wordpress scripts did not have permission to create and drop tables. The underlying cause was a combination of classic programmer errors:

  1. Wordpress does not check preconditions on its environment before proceeding.
  2. Wordpress doesn’t check error return values, and fails to notice when something’s gone wrong during an upgrade. This is a big reason why exceptions are a good thing.

I’m not sure what the core developers will eventually say about the very real bugs I’ve uncovered in Wordpress; but the wp-hackers mailing list is already breaking out in the classic denial responses:

  • What happened to you is simply not possible. (Not only was it possible. It did happen.)
  • It’s OK for software to break due to environmental problems. (Software may choose not to perform its function in the event of unrecoverable environmental problems, but it should not proceed blindly as if those problems did not exist; and it should warn the user of the problems. )
  • We told you to backup, so it doesn’t matter if our software destroys your data. (That’s like a drunk driver saying I should have insurance, and therefore it’s OK if he crashes into my car.)

    There’s probably a cautionary tale in this when I get time to write it up.

Read: Some Borkage Cured

Topic: MozillaprismHacking-Screenshot Previous Topic   Next Topic Topic: Ext Discovers Step 2 of the Slashdot Business Model?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use