• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Design issue Permanently deleting a thread via inline mod results in a "thread not found error"

Brogan

XenForo moderator
Staff member
#1
Open a thread and click on the checkbox on the first post.
Permanently delete it and the browser refreshes back to the thread URL and an error message is displayed.

This only happens when deleting within the thread, not from the forum view.

error.PNG
 

Brett Peters

Well-known member
#2
I just gave that a try but I was redirected to forum view after a complete delete within the thread
Is their possibly another variable ?
 

Brogan

XenForo moderator
Staff member
#3
I tried it with a thread with a single post and multiple posts, on my test installation and live site.

I received the same result each time.
 

lightbox

Active member
#8
So if I understand you right, you're NOT deleting a thread from within the thread, but you delete one or more post(s) with the result of the whole thread being deleted. This might be the difference and this is where the error occurs!
When you use the thread tools to delete the thread from within the thread, everything is ok.

Can confirm this behavior.
 
R

ragtek

Guest
#10
The problem is the dynamic redirect in XenForo_ControllerPublic_InlineMod_Abstract

PHP:
		return $this->responseRedirect(
			XenForo_ControllerResponse_Redirect::SUCCESS,
			$this->getDynamicRedirect()
		);