Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17369

Permanently deleting soft-deleted topics returns incorrect forum in redirect link

XMLWordPrintable

      In the event that you soft-delete a topic, if you then permanently delete it from your forum you'll be taken to a redirect page which has a link asking you if you want tor return to the last forum visited.

      The problem here is that because the topic has just been deleted, it seems as though the link between the forum and topic is broken and so on the redirect page, the link will try and take you to a forum with an ID of 0 instead of the real forum that the deleted topic belongs too.

      Here are the production steps:

      • Soft-delete a topic so it's hidden (do NOT permanently delete it).
      • Go back into the topic and then try to permanently delete the topic.
      • The topic will be deleted and you'll be taken to a success page.
      • Click the link to 'Return to last forum visited' and you'll be taken to a 404 not found page because the forum ID in the URL parameters is f=0.

      I've attached screenshots to explain further.

            Marc Marc
            danieltj Daniel James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: