Submitted by : simon at: 2003-10-26T21:31:51+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

When the id == canonicalIdFrom(title) invariant is broken for some reason, code making that assumption may break. Eg at present changing an issue description doesn't rename the page properly, breaking the invariant and therefore the parent display code (#471 changing issue description causes an error if it affects the page id). That will be fixed but we should gracefully handle non-canonical ids whenever they are encountered.

How ? Could change page ids to match the title at view time with upgradeId, but it seemed too slow, especially if you have it fix up backlinks which would be desirable. Alternative: don't try to fix the problem, just make the parenting and other code do something harmless when it encounters this situation.