Moved Threads And Last Post Feature Don't Play Nicely

slvr_phoenix

Splendid
Dec 31, 2007
6,157
1
25,780
I've noticed that when a thread is moved it wreaks havoc with the last post feature on that thread. The last post seems to get permanently locked in the original location's placeholder. (I.E. if Ned was the last person to post before the thread was moved, in the thread's original location, Ned will always be shown as the last post.) I'm assuming this is because the forum isn't smart enough to look for the last post data in the new location.

Second, if you stupidly actually click on the last post icon in the moved thread's original location, instead of it taking you to the moved location like it does when you click on the thread link, it just brings up an error page for "The topic or post you requested does not exist". Which, again, is likely because the forum isn't smart enough to look for the last post in the new location.

So it looks like the last post code needs a lot of work for handling when threads are moved. That or maybe, like the page numbers, it should just not be available in the original location placeholders.
 
Good catch.

It is impossible to dynamically change the last poster for a moved thread, as there is no link backward from the new location to the old location, and it offers little value to provide such, as the topic did not belong in the old place anyways, and that is why it was moved.

Instead, I will change the last post info to simply point to the new location.