First time here? Check out the FAQ!

Revision history  [back]

Question missing from question_revision table!

I don't know how it could have gotten in this state, but I have 3 questions in my database that do not have an entry in the question_revision table.

The questions display fine, but whenever I try to edit the question, I get an exception in query.py in __getitem__

Note that the ID in the table are sequential. There is no hole...

A few questions:

  • Any idea why this happened?
  • Easy way to fix?
  • Should there be code to catch an empty revision? (I would think not...This is a DB issue)

Question missing from question_revision table!

I don't know how it could have gotten in this state, but I have 3 questions in my database that do not have an entry in the question_revision table.

The questions display fine, but whenever I try to edit the question, I get an exception in query.py in __getitem__

Note that the ID in the table are sequential. There is no hole...

A few questions:

  • Any idea why this happened?
  • Easy way to fix?
  • Should there be code to catch an empty revision? (I would think not...This is a DB issue)