Next Question

From ZenWiki

Jump to: navigation, search

If a question is deleted, and it is referenced by other questions or answers in the SMIG as their logical "next question", the database has some inconsistency, because all questions and answers are not updated to make sure that the deleted question is removed as the "next question" field if it was there. What currently happens is that if a question or answer that had a deleted "next question" is being edited, then upon opening this question/answer, the "next question" field is set to null if the method to retrieve it returns null.

Given the data inconsistency, you may want to have a different approach to this problem; but keep in mind that server side operations to check every "next question" field for questions and answers may considerably affect performance.

Personal tools